Re: [xml-dev] ANN: Tiny API for Markup, Parser

From
Tim Bray <>
To
Date
2002-08-20T18:13:44Z
ID
<>
Thread
Re: [xml-dev] ANN: Tiny API for Markup, Parser
Simon St.Laurent wrote:

> This parser is _not_ XML 1.0-compliant, primarily because it doesn't
> support DOCTYPE processing at all.  J2ME is a very constrictive
> environment, so I've made some reductions and passed responsibility from
> the parser to the application.  The TAM API provides an event that
> reports the entire DOCTYPE declaration to the application, which is then
> responsible for any DOCTYPE processing that may be necessary.  TAM will
> resolve simple entities if the application registers them with the
> parser, but does not handle entities which contain markup - that's a job
> for the application.
> 
> This parser does support namespaces, and namespace declarations are
> reported as attributes.  The startPrefix/endPrefix methods of SAX2 are
> not supported by TAM.

Hehe.  Sounds like an XML-SW parser to me.  -Tim