G. Ken Holman wrote:
From the lexical space, "1" and "true" represent the comparison
space value true().
[...]
Now I'm not sure what you are missing from the spec.
I don't see the place where the XML Schema spec actually defines this.
Or, precisely: where it defines whether the lexical representation "1"
is equivalent to the canonical representation "true", or is equivalent
to the canonical representation "false".
But meanwhile I found a sufficient specification for this (just not in
the XML Schema spec, where I expected it, but actually - albeit
implicitly - in XPath 2.0 Functions and Operators):
<http://www.w3.org/TR/xquery-operators/#func-true>
Here, it states that true() "Returns the xs:boolean value true.
Equivalent to xs:boolean("1")", from which I conclude that "1" is mapped
to the canonical value "true".
Thanks,
Christian
--~------------------------------------------------------------------
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>
--~--