[
Lists Home |
Date Index |
Thread 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
elharo@metalab.unc.edu
Effective XML (Addison-Wesley, 2003)
http://www.cafeconleche.org/books/effectivexml
http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA
|