ColdFusion MX Professional Projects

Team-Fly

Table 11-1 lists small XML parsers that can be used with the MIDP platform. Each parser will be explored in subsequent sections, but the table here gives you a quick way of comparing parsers. Each of these parsers is released under some type of open-source software license as listed in the License column. The Size column shows the approximate size of the compressed class files for the parser. The Type column describes the parsing paradigm using one of the following:

The MIDP column indicates whether or not the parser source code compiles without modification on the MIDP platform. Finally, the SAX column tells what version of SAX the parser supports.

Table 11-2 provides more information about each type of license, listing both the license name and a URL that provides more information.

Table 11-2: Software Licenses

NAME

URL

EPL

http://kxml.enhydra.org/software/license/

BSD

http://www.opensource.org/licenses/bsd-license.html

zlib/libpng

http://www.opensource.org/licenses/zlib-license.html

GPL

http://www.gibaradunn.srac.org/tiny/gpl.txt

In the following sections, I'll describe each parser. I'll explain how to make the parser compile for MIDP, as well as how each parser can be used from a MIDlet.


Team-Fly

Категории