[
Lists Home |
Date Index |
Thread Index
]
----- Original Message -----
From: "Elliotte Rusty Harold" <elharo@metalab.unc.edu>
To: "Karl Waclawek" <karl@waclawek.net>
Cc: <xml-dev@lists.xml.org>
Sent: Tuesday, April 13, 2004 7:27 AM
> 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.
I am pretty sure the overlap is sufficient to call it "close enough"
for practical purposes.
Karl
|