[Bug 2634] [XPath] Comparing QNames

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2634





------- Additional Comments From mike@saxonica.com  2006-01-03 21:03 -------
Delving a bit further, this has changed since the October 2004 draft

http://www.w3.org/TR/2004/WD-xpath-functions-20041029/#func-QName-equal

In the minutes from Brisbane (Jan 2005)
http://lists.w3.org/Archives/Member/w3c-xml-query-wg/2005Jan/0112
we see:

RESOLUTION: "[IR] IBM-FO-112: comparisons of URIs" is closed.
op:QName-equal will be based on codepoint comparison. This was done in
the previous version of the document and needs to be rolled back.

This comment is at
http://lists.w3.org/Archives/Member/w3c-xsl-query/2004Dec/0013.html It proposes
changing the URI comparison to use the default collation, but says nothing about
the local name comparison. 

It seems to me entirely possible that the change happened as a result of some
confusion over the URI/string comparison issue (witness the decision first to
accept IBM-FO-112 and then to roll it back), and that there was no conscious
decision after October 2004 to change the comparison semantics for the local
part of the QName. Certainly I recall no such discussion.

Unfortunately, unlike many of our documents, the Feb 2005 working draft of F+O
does not include a change log.

Michael Kay

Received on Tuesday, 3 January 2006 21:03:13 UTC