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

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 UTC