Subject: RE: "1" cast as xs:boolean
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 3 May 2010 23:17:33 +0100
|
> I checked
>
> <http://www.w3.org/TR/xmlschema-2/#boolean>
>
> which I think should be my reference for determining the
> answer, but I cannot find the place where it is defined how
> literals 1 and 0 are mapped to the canonical representation
> of xs:boolean, true and false.
>
> Any pointers where I need to look for that info?
I think it's missing from the XSD 1.0 spec; the omission is made good in XSD
1.1.
Regards,
Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay
|