This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5984 - [XQuery] xs:integer is not primitive
Summary: [XQuery] xs:integer is not primitive
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 1.0 (show other bugs)
Version: Recommendation
Hardware: All All
: P2 minor
Target Milestone: ---
Assignee: Don Chamberlin
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-24 02:17 UTC by Michael Dyck
Modified: 2008-09-10 23:56 UTC (History)
0 users

See Also:


Attachments

Description Michael Dyck 2008-08-24 02:17:19 UTC
(As mentioned in Bug 5267 comment #3.)

In the XQuery spec,
    section 2.5.1 Predefined Schema Types, point 5
and
    Appendix H Glossary, under xs:anyAtomicType
both say:

    All primitive atomic types, such as xs:integer, xs:string,
    and xs:untypedAtomic, have xs:anyAtomicType as their base type.

but xs:integer is not a primitive atomic type. (And I don't think
xs:untypedAtomic is either, but that's a tricker case.)

You could just use different examples, e.g. xs:decimal and xs:dateTime.
Comment 1 Don Chamberlin 2008-09-10 23:55:04 UTC
Since this is a minor (editorial) bug, I have accepted and implemented the suggested change. This change will appear in a forthcoming errata document.
Don Chamberlin (editor of XPath 2.0 and XQuery 1.0 specifications).