Re: [xml-dev] XML Binary Characterization WG public list available

From
Elliotte Rusty Harold <>
To
Karl Waclawek <>
Date
2004-04-13T11:27:28Z
ID
<p06010207bca17ea5e6cf@[192.168.254.88]>
Thread
Re: [xml-dev] XML Binary Characterization WG public list available
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)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA