[Home] [By Thread] [By Date] [Recent Entries]

  • From: David Lee <dlee@c...>
  • To: "Costello, Roger L." <costello@m...>, "xml-dev@l..."<xml-dev@l...>
  • Date: Thu, 31 Jan 2013 23:04:55 +0000

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
dlee@c...
http://www.xmlsh.org








[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member