[Bug 3838] fn:codepoints-to-string should allow any infoset character

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





------- Comment #1 from mike@saxonica.com  2006-10-15 22:14 -------
There are of course use cases for such an enhancement, but this is not the time
to be considering enhancements.

There are also considerable technical complications in allowing the string data
type to use a wider character set than XML permits. For example, it would
require a careful look at the rules for regular expressions. There's also a
potentially significant performance penalty if characters in a string have to
be checked for XML-validity at the time text or attribute nodes are
constructed, rather than at the time the string is constructed.

Apart from that, the XML working group chose consciously to disallow certain
characters, and we should respect that decision unless there are very
compelling reasons. Sometimes it's more important to be consistent than to be
right. The XPath data model should have XML as its foundation.

Received on Sunday, 15 October 2006 22:14:19 UTC