Home modules.gotpike.org
Username: Password: [Create Account]
[Forgot Password?]

Modules

ADT
Database
GTK2
GUI
IP
PiJAX
Public
Sql
Stdio
Subversion
System
Tools
Xosd
lua
v4l2
wx

Recent Changes

Public.Parser.XML2 1.50
Public.ZeroMQ 1.1
Public.Template.Mustache 1.0
Public.Protocols.XMPP 1.4
Sql.Provider.jdbc 1.0

Popular Downloads

Public.Parser.JSON2 1.0
Public.Parser.JSON 0.2
GTK2 2.23
Public.Web.FCGI 1.8
Public.Parser.XML2 1.48


Module Information
Public.Parser.XML2
Viewing contents of Public_Parser_XML2-1.34/CHANGES

Version History

Version 1.34
- fixed a bunch of segfaults when passing Node objects to a Stylesheet.
- XSLT docloader functions are local to the Stylesheet object, rather
    than global, as they were before.
- parse_xslt() is back (we don't know where it went).
- should compile on systems without strlcpy().
- minor doc fixes
- beginning of a testsuite to help ensure quality.

Version 1.32
- Added new_node() for getting a new unlinked XML node
- select_xpath_nodes() will evaluate relative to the node passed, making 
    expressions that involve node axes (parent, child, etc) work properly.
- Fixed a segmentation fault which occasionally occurred while using 
    get_ns_attributes().
- Documentation fixes

Version 1.28
- Checks for some (presumably) late additions to XMLReader

Version 1.26
- Added validation using DTDs

Version 1.24
- Added RelaxNG validation (basic)

Version 1.22
- Node and XMLReader objects automatically encode input to UTF-8 and 
output from UTF-8 to Pike's internal string representation when wide 
strings are in use.
- Added set_auto_utf8_convert() to turn off auto conversion of strings.

Version 1.20
- Added new functions for Node objects:
    replace(), unlink(), delete(), copy(), copy_list(), set_base, 
    set_lang, add_content(), new_text_child() and a namespace aware
    version of new_child()
- Some memory optimizations for freeing unlinked nodes upon object
    destruction.
- Fixed some documentation

Version 1.18
- All parsers now accept encoding parameters
- Methods for querying encoding/decoding methods
- Better error messages

Version 1.16
- XMLReader interface complete
- Added a few more Node methods

Version 1.14
- Added HTML parser
- Added XML and HTML parser options
- Fixed compile problems with some versions of libxml2
- Added XMLReader interface, missing a lot of methods currently
- Added Doc loader support for XSLT Stylesheet objects

Version 1.12
- Added XSLT suppport via libxslt.
- Split module into components for easier development.

Version 1.9
- Fixed bug that hid get_node_type()
- Fixed a bunch of segfault causing bugs
- clarification: get_ns() gives the namespace that is defined at the node; 
    get_nss()["_default"] gives the namespace that's not given a prefix.

Version 1.8
- Added SAX v2 parser
- SAX parser supports namespaces
- More documentation

Version 1.3

- Added set_node_name()
- Added add_ns() and set_ns()
- Added get_root_node() and set_root_node()
- Added select_xpath_nodes() to allow selection of nodes based on an XPath 
    specification
- Added support for creation of PI nodes
- Added support for setting and deletion of attributes
- More documentation

Version 1.2

- Support for creation of certain types of nodes
- Support for adding children and siblings
- Support for creating new documents
- Support for output of document to XML 
- More documentation
- More constants
- Testing clocks this module as 500% faster than Parser.XML.NSTree

Limitations: 

- Incomplete Namespace support
- No support for adding attributes to nodes. 
- Not all types of node can be created. 
- No support for deleting or copying nodes.


Version 1.1

Support for getting namespace information from nodes.
Support for dumping a node to XML.
Support for more node operations, such as getting language.
Constants have been shortened and moved into their own class.
Approximately 30% of methods have documentation now.

Version 1.0 

This is the first release of the Public.Parser.XML2 module.
There are very rudimentary parsing and tree navigation methods.
Currently, the tree is static once parsed.




gotpike.org | Copyright © 2004 - 2019 | Pike is a trademark of Department of Computer and Information Science, Linköping University