Lists Home |
Date Index |
> 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 ,
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.