W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2008

[Bug 5984] New: xs:integer is not primitive

From: <bugzilla@wiggum.w3.org>
Date: Sun, 24 Aug 2008 02:17:19 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-5984-523@http.www.w3.org/Bugs/Public/>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5984

           Summary: xs:integer is not primitive
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: XQuery
        AssignedTo: chamberl@almaden.ibm.com
        ReportedBy: jmdyck@ibiblio.org
         QAContact: public-qt-comments@w3.org


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


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Sunday, 24 August 2008 02:17:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:53 GMT