RE: XML versus Unicode ... here are the facts about their differences

From
David Lee <>
To
"Costello, Roger L." <>, "" <>
Date
2013-01-31T23:04:55Z
ID
<>
Thread
RE: XML versus Unicode ... here are the facts about their differences
Fact: XML parsing is done on codepoints, but XPath does NOT do its string matching operations based on codepoints. XPath uses a byte-for-byte comparison.
------------

I believe this is false. Judging from memory ...
 XPath uses codepoints identity comparisons for qnames, and use codepoint collation rules (depending on the environment) for string data comparisons.
It certainly doesn't do 'byte for byte comparisons' as for example a UTF8 and a UTF16 document would not work equivalently.


----------------------------------------
David A. Lee

http://www.xmlsh.org