[Home] [By Thread] [By Date] [Recent Entries]



----- Original Message ----- 
From: "Elliotte Rusty Harold" <elharo@m...>
To: "Karl Waclawek" <karl@w...>
Cc: <xml-dev@l...>
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

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member