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

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





------- Comment #3 from davidc@nag.co.uk  2006-09-29 09:42 -------
> Obviously XML 1.1 characters should be allowed

Actually that is not obvious.
The F&O spec says:

If any of the code points in $arg is not a legal XML character, an error is
raised

"legal XML character" isn't as far as I know a defined term, and in the case of
XMl 1.1 there is some ambiguity as to whether it should include #1 (which is
not allowed _as a character_ in XML, only as a character reference.
F&O should probably instead refer to character allowed by xml infoset (or
xsd:string) which then in the case of xml 1.1 would allow control characters.


David

Received on Friday, 29 September 2006 09:42:07 UTC