This decision was taken because Saxon is now dependent on JDK 1.4, which includes its own XML parser, and therefore the original reason for bundling a parser with Saxon has disappeared.

non validating xml-18non validating xml-42non validating xml-4

The parser implements SAX2 and JAXP 1.1 parser interfaces.

It has no DOM support, and no support for validation: in fact, it is about as stripped-down as an XML parser can get. The SAX2 and JAXP libraries are not included in the package; these must be installed separately.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of merchantability or fitness for a particular purpose.

object has been created, various attributes of the object can be set to handler functions.

This was distributed with releases of Saxon until Saxon version 7.1.

Saxon versions from 7.2 onwards no longer include a built-in XML parser.

This can improve performance substantially since Expat normally breaks character data into chunks at every line ending.

This attribute is false by default, and may be changed at any time.

Besides the expected things like being able to parser elements and attributes as well as making sure they are well-formed, a conforming non-validating XML parser should also support the following: The internal DTD subset consist of the DTD declarations that are found in the XML document itself as opposed to the external subset which consists of the declarations placed into separate DTD files and referenced from the XML documents.

Here is a sample document that uses most of the above features (download it to test your favorite parser: test.xml): This entry was posted on Monday, May 19th, 2008 at am and is filed under Development, XML.

This is a modified version of the Ælfred XML parser from Microstar.