[Bug 3776] fn:codepoints-to-string should allow XML 1.1 characters

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





------- Comment #5 from per@bothner.com  2006-09-29 16:34 -------
(In reply to comment #1)
> I think I argued at one time that 0 should be allowed in the string data type
> even though it is not allowed in text and attribute nodes. But apparently there
> are some people still coding in an old 1960s language called C which has
> trouble with the concept of 0 as a character, and they objected.

For the same reason we should remove the xs:decimal type and only support
32-bit integer arithmetic.  Frankly, I have a hard time understanding this
concern: 0 is a perfecticly valid character is C, and in Java, which is
commonly implemented using C.  This is only an issue if you want to represent
XQuery strings using zero-terminated C strings, which doesn't seem like a great
idea.

Received on Friday, 29 September 2006 16:35:01 UTC