[Sax-devel] Re: [Sax-users] Misleading sentence on project page
Brought to you by:
dmegginson
From: David B. <da...@pa...> - 2002-05-27 17:48:05
|
Elliotte Rusty Harold wrote: > Here's another issue: what is a local name and where is it defined? > Namespaces in XML does not use the term "local name" even once. Instead > it uses the term "local part". I noticed that too. Modulo the processing that's not required, think of "local name == local part". Creating new terminology wasn't a goal, though you'll see a remnant of some in a few parts of SAX2 javadoc (like "raw name" instead of "qName"). > The first time I find it defined is in the Infoset spec: > http://www.w3.org/TR/xml-infoset/#infoitem.element > > The infoset does not provide a qualified name property for elements or > attributes. In the Infoset, all elements and attributes, namespace > qualified or not, have local names. On the other hand, the infoset is "not defined" for documents that aren't namespace-conformant (and "does not attempt to be exhaustive"). Nor does any W3C specification cover the error handling required for such documents. And the infoset _does_ identify the prefix, which is extracted from the qName property. - Dave |