[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
RE: XML versus Unicode ... here are the facts about theirdifferences
- From: David Lee <dlee@calldei.com>
- To: "Costello, Roger L." <costello@mitre.org>, "xml-dev@lists.xml.org"<xml-dev@lists.xml.org>
- 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@calldei.com
http://www.xmlsh.org
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]