[Home] [By Thread] [By Date] [Recent Entries]
Oren said: >IMVHO SAX should be defined not as a "parser interface" but as a "DOM tree >visitor interface". Mild disagreement, related to where DOM is positioned. The Document Object Model, despite its name, is not intended to be the Official Inner Semantics of XML. (That's the Infoset WG's problem.) DOM is just an API for accessing a document, which happens to be organized in a way that closely resembles a parse tree. If you want to say that both DOM and SAX should be considered as visitors to the parse tree, I'll buy it. And certainly parsers _can_ output a parse tree whose structure mirrors the DOM. ______________________________________ Joe Kesselman / IBM Research Unless stated otherwise, all opinions are solely those of the author. xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|

Cart



