W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2007

[Bug 5267] [DM] xs:dayTimeDuration and xs:yearMonthDuration are not primitive simple types

From: <bugzilla@wiggum.w3.org>
Date: Wed, 14 Nov 2007 21:10:31 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1IsPVH-0002OP-Pg@wiggum.w3.org>

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





------- Comment #3 from jmdyck@ibiblio.org  2007-11-14 21:10 -------
(In reply to comment #1)
> 
> xs:integer is neither a primitive type according to W3C XML Schema 3.2, but
> it's probably as well listed all over the specs as primitive. I have a vague
> memory of that either XQuery or F&O explicitly said that xs:integer was
> considered as a primitive type even though it isn't.

You're maybe thinking of F+O section 17.1: "These four types [xs:untypedAtomic,
xs:integer, xs:yearMonthDuration, and xs:dayTimeDuration] are not primitive
types but they are treated as primitive types in this section." (Although I
don't see why xs:untypedAtomic is "not primitive".) 

> In XQuery 1.0, H Glossary (Non-Normative), section xs:anyAtomicType are
> xs:integer and xs:untypedAtomic mentioned as primitive atomics.

Similarly in XQuery section 2.5.1, point 5.

Getting back to the Data Model spec, section 2.6.2 (under xs:anyAtomicType)
also mentions xs:integer as a primitive atomic type.
Received on Wednesday, 14 November 2007 21:10:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:21 UTC