[Bug 1207] Is unsignedInt("+123") an error?

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





------- Additional Comments From mrys@microsoft.com  2005-05-13 23:24 -------
After having discussed this issue with my constituency, we feel that in the 
given case of casting to numeric types, we should allow xs:unsignedInt("+13") 
(taking the cast to base type/down-cast approach. However, in the general 
case, where the target type's lexical and value space are aligned, we agree 
that patterns need to be checked...

This is just another consequence of allowing patterns on types where the 
lexical and value space are not the same.

Received on Friday, 13 May 2005 23:24:14 UTC