[Bug 27737] [FO3.1] Casting: is xs:integer a primitive type?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27737

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
Arguing from first principles rather than trying to interpret the text of the
spec, I think the pattern facet should be tested against

(a) if we're casting from string, against that string

(b) otherwise, against the "canonical lexical representation of the target
value assuming casting succeeds".

On this basis, in the relevant test, casting should succeed, which is the
result we get if we treat xs:integer as a primitive type for the purposes of
19.3.1.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Saturday, 3 January 2015 22:46:09 UTC