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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] xml namespace prefix resolution

[ Lists Home | Date Index | Thread Index ]

dareo@microsoft.com (Dare Obasanjo) writes:
>Of course, neither DOM nor SAX is actually based on the XML Infoset so
>it is unsurprising that they don't expose such functionality but this
>doesn't mean that it has anything to do with the PSVI. 

I think Bob was just suggesting that the result of the parse would be
p:someText - which happens to be in a context where the p namespace is
http://myns - rather than a fully expanded value like {http://myns ,
someText}.

The namespace context information is available from the parser in both
DOM and SAX, but only a PSVI-based processor would know to present a
QName value space for QNames in element content rather than a text value
and available context.





 

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

Copyright 2001 XML.org. This site is hosted by OASIS