XML
Currently, three different libraries are available for XML parsing. Table 10.1 shows an overview of the features and limitations of the different APIs. In general, a trade-off exists between the package size and the features available. None of the XML parsers available for CLDC is a validating XML parser.
Parser | JAR Size | License | URL and Remarks |
---|---|---|---|
NanoXML KVM port | 9.7KB | Libpng | http://nanoxml.sourceforge.net
No support for mixed content. The whole document is parsed to a memory structure. Optional SAX interface available. XML writing support. |
TinyXML KVM port | 7.9KB | GPL | http://www.microjava.com
SAX-like callback interface. No XML writing support. |
KXML | 19.9KB | Enhydra License | http://www.kxml.org
Namespace ... |
Get Java™ 2 Micro Edition Application Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.