At 15:14 28/02/2003 -0500, John Cowan wrote:
>Sean McGrath scripsit:
>
> > The instance is UnicodeWithAngleBrackets for sure. But an XML compliant
> > parser much turn this mixture into
> > a tree.
>
>What for? A typical SAX parser has a map, or map of maps, representing
>its static knowledge of the document based on its DTD. Its model of the
>instance is a stack. There is no tree anywhere (Hagbard Celine).
Take all the start-element events, match 'em up with each end-element
event. They all nest
inside each other perfectly. Draw it. What do you see? :-)
Sean