W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2015

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

From: <bugzilla@jessica.w3.org>
Date: Sat, 03 Jan 2015 22:46:04 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-27737-523-G3CZWckQuF@http.www.w3.org/Bugs/Public/>

--- 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

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Saturday, 3 January 2015 22:46:09 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:46:00 UTC