[Bug 20631] [XQ31] The "numeric" pseudo-type

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

--- Comment #7 from Michael Kay <mike@saxonica.com> ---
(In reply to Jonathan Robie from comment #6)
> (In reply to Jonathan Robie from comment #5)
> > I suggest that we replace this definition as follows:
> > 
> > [Definition: When referring to a type, the term numeric denotes the types
> > xs:integer, xs:decimal, xs:float, and xs:double<add>, which are each derived
> > from xs:numeric</add>.]
> 
> I will also have to look at all uses of numeric in XQuery 3.1 / XPath 3.1.

xs:double etc are not "derived from" xs:numeric, at least not in the sense of
XSD 1.1 part 2 where "A is derived from B" means "The base type of A is B or is
a type derived from B". xs:double is substitutable for xs:numeric, which is not
the same thing.

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

Received on Tuesday, 28 October 2014 20:22:20 UTC