On 1/20/2013 8:50 PM, David Lee wrote:
This is interesting.
I tried this in a couple XQuery parsers and they all report an error
1 treat as xs: untypedAtomic
So if xs:untypedAtomic is not the base type of anything then it makes
sense that treat as will fail
Thanks Michael, and David - yes I came to the same conclusion. It's not
worth chasing down whether there's a bug in some outdated version of
Saxon, I guess. This diagram shows the type hierarchy:
http://www.w3.org/TR/xpath-functions/#datatypes.
_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk