OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] DOM versus XDM: Differences in handling CDATA sections,entities, and concurrency

On 12/11/2010 16:38, Costello, Roger L. wrote:
> My understanding is that an XML document is first processed by an XML parser, which creates an in-memory tree representation of the XML document.

not necessarily it may return some other representation, or it may just 
stream events notifying the application. Most parsers do not (as far as 
I know) generate an XDM tree for example but rather the xslt or xquery 
engine uses a sax parser and (perhaps) builds the tree from those sax 

But perhaps the full tree is never built at all if the system can tell 
at compile time that only parts of the document are used, other parts 
may be simply parsed enough to skip over without actually building an in 
memory tree at all.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS