xsl-list
[Top] [All Lists]

RE: [xsl] "1" cast as xs:boolean

2010-05-03 17:17:58
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 


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>