[
Lists Home |
Date Index |
Thread Index
]
John Cowan:
> The XPath data model and the Infoset were made compatible
> thanks to a conspiracy between James Clark and myself. I
> note that the XPath data model also does not forbid names
> made up of seven spaces, but you don't rant about that.
I think XPath 1.0 does forbid such names. It states, for example [1],
that the "expanded name" of an element node is computed from a QName,
and "QName" is defined by reference to the Namespaces 1.0 REC. By
implication, an expanded name that could not be computed from any QName
cannot occur. Therefore, the XPath 1.0 data model does NOT permit names
that are legal in XML 1.1 but illegal in XML 1.0, and it certainly
doesn't permit names consisting of seven spaces.
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
[1] http://www.w3.org/TR/1999/REC-xpath-19991116#element-nodes
|