RE: [xml-dev] xml namespace prefix resolution

From
Simon St.Laurent <>
To
Date
2003-09-18T02:05:58Z
ID
<r02000000-1026-A533E72CE97C11D7870D0003937A08C2@[192.168.124.11]>
Thread
RE: [xml-dev] xml namespace prefix resolution
 (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.