New Features in NanoXML
NanoXML 2.2.1
NanoXML/Java
-
DTDs can now have parameter entity references as part of another
declaration.
-
Entity resolving in attribute values has been fixed.
-
When the builder is given an endElement event, the namespace
of the element is passed with the method.
-
Using an extra parameter to the write method in XMLWriter, you
can chose whether you want to collapse empty elements.
Thus you can chose to display an element as <ELEMENT/>
or <ELEMENT></ELEMENT>.
NanoXML/SAX
-
Readers are now automatically closed after parsing data from a
reader or input stream.
NanoXML/Lite
-
The method getIntAttribute() has been fixed. It previously tried
to convert the key instead of the value to an integer.
NanoXML 2.2
NanoXML/Java:
-
New entity resolving mechanism which is now XML compliant.
NanoXML/Lite:
-
Better support for JDK 1.1.
-
Improved JavaDoc.
-
Renamed some methods to make NanoXML/Lite more consistent with the
XML naming conventions.
The older methods are now deprecated and will be removed in
NanoXML 3.0.
-
Processing instructions no longer generate exceptions.
-
When subclassing XMLElement, you only have to override
createAnotherElement().
NanoXML 2.1.1
NanoXML/Java:
-
You can now retrieve the parent element of an IXMLElement using
getParent.
NanoXML/Lite:
-
Fixed a bug involving comments.
NanoXML 2.1
NanoXML 2.0
NanoXML 2.0 contains a lot of new features which makes it almost fully
XML compliant, like:
-
A new faster parsing algorithm is used, which is one-pass and
consumes almost no memory, even with large input.
-
Client applications can get an XML "stream" which
makes the handling of very large XML data streams easy.
-
The DTD is no longer ignored. Though the parser is still
non-validating, entities and default values for attributes
are now retrieved from the DTD.
-
The DTD can also contain parameter entities.
-
Full support for external entities.
-
Support for mixed content.
-
NanoXML has been broken down in separate objects, so it's
easy to use your own reader, validator, builder or even parser.
-
XML data is now more strictly checked. SGML like features like
unquoted attribute values and case-insensitivity are no longer
supported, which makes the parsing faster.
-
Support for auto-detection of encoding of XML input.
-
Support for conditional sections in the DTD.
|