- Add XML2.get_xml_parser_options() and get_html_parser_options().
- Fix some memory leaks in various Node methods.
- Strengthened bounds checking on parse_xml().
1.40 |
GPL/LGPL/MPL | 2007-01-16 16:57:19 | Select |
|
- XMLReader is actually usable now that we manage memory properly
- fixes for stack overflow when using SAX to parse large xml documents
- fix for nsstartelement attribute contents overrunning
- added "end" attribute to nsstartelement attribute data
- fix for character callback receiving too much data
- configure fix for libxmls that don't have xmlTextReaderIsNamespaceDecl
or xmlNewDocPI
- fix for Node()->children()->delete() segfaults
- better checks on Node destruction to prevent segfaults
|
1.38 |
GPL/LGPL/MPL | 2005-12-22 11:23:42 | Select |
|
- added Public.Parser.XML2.silent as a flag to turn off error and warning
output (stopgap until we figure out a better system, really)
- more verification of get_ns_attributes(), seems to be working properly
- added XMLReader()->set_autoencode(), to toggle auto-encoding of input
data
|
1.36 |
GPL/LGPL/MPL | 2005-10-19 16:56:43 | Select |
|
- added Stylesheet()->media_type()
- added Stylesheet()->output_type()
- get_ns_attributes() uses the namespace URI, and works properly now
- CHANGE: set_ns_attributes() is now a 3 argument variant of
set_attributes(), and uses the namespace URI rather than prefix now.
- CHANGE: set_ns() uses the namespace URI rather than the prefix
- added Node()->_refs(), Node()->is_unlinked and Node()->is_transient(),
mostly useful for debugging purposes, but may have other purposes :)
|
1.34 |
GPL/LGPL/MPL | 2005-10-18 17:30:45 | Select |
|
- 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.
|
1.32 |
GPL/LGPL/MPL | 2005-09-07 18:11:56 | Select |
|
- 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
|
1.24 |
GPL/LGPL/MPL | 2005-07-20 17:29:44 | Select |
|
- Added basic RelaxNG validation support
|
1.22 |
GPL/LGPL/MPL | 2005-07-18 14:57:47 | Select |
|
- 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.
|
1.20 |
GPL/LGPL/MPL | 2005-07-14 10:13:18 | Select |
|
- 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
|
1.16 |
GPL/LGPL/MPL | 2005-05-05 00:00:00 | Select |
|
- XMLReader interface mostly complete
- Added a few more Node methods
- More inline documentation
|
1.14 |
GPL/LGPL/MPL | 2005-05-03 00:00:00 | Select |
|
- 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
|
1.12 |
GPL/LGPL/MPL | 2005-04-10 00:00:00 | Select |
|
- Support for XSLT transformations via libxslt
- Code reorg for easier development
|
1.8 |
GPL/LGPL/MPL | 2005-04-06 00:00:00 | Select |
|
Added SAX v2 compliant parser.
|
1.4 |
GPL/LGPL/MPL | 2005-03-23 00:00:00 | Select |
|
- Initial SAX implimentation (not all events currently fire)
- More documentation
|
1.3 |
GPL/LGPL/MPL | 2005-03-21 00:00:00 | Select |
|
- 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
|
1.2 |
GPL/LGPL/MPL | 2005-03-20 00:00:00 | Select |
|
New for this version:
- 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.
|
1.1 |
GPL/LGPL/MPL | 2005-03-19 00:00:00 | Select |
|
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.
|
1.0 |
GPL/LGPL/MPL | 2005-03-18 00:00:00 | Select |
|
Initial version of the module; provides rudimentary parsing and tree navigation methods. The tree is currently static.
|