Lists Home |
Date Index |
At 7:38 PM -0400 4/12/04, Karl Waclawek wrote:
>So, one can map from SAX to the Infoset and back (bijectively, I assume).
>Then it would be not too far fetched to say that the "SAX abstraction" is
>isomorphic to the Infoset, or at least some subset of it.
Your assumption is faulty. The mapping is not bijective. SAX exposes
things that are not in the Infoset, and the Infoset includes things
that are not in SAX. Details vary depending on the version of SAX,
and how much of the optional parts of SAX the parser implements.
Elliotte Rusty Harold
Effective XML (Addison-Wesley, 2003)