W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2006

[Bug 3072] Which types have constructor functions?

From: <bugzilla@wiggum.w3.org>
Date: Tue, 04 Apr 2006 08:50:52 +0000
To: public-qt-comments@w3.org
Message-Id: <E1FQhFU-0001Ou-B6@wiggum.w3.org>


------- Comment #2 from mike@saxonica.com  2006-04-04 08:50 -------
F+O 5.1 says that built-in atomic types have constructor functions.
F+O 5.3 says that user-defined atomic types have constructor functions.

You seem to have read 5.1 as saying that *only* built-in atomic types have
constructor functions, which it doesn't say...

I don't think the specs are inconsistent about xdt:anyAtomicType either. F+O's
phrase is 

    Every built-in atomic type that is defined in [XML Schema Part 2:
    Datatypes Second Edition], except xs:NOTATION, has an associated
    constructor function; as do xdt:untypedAtomic, defined in Section
    2.6 TypesDM and the two derived types xdt:yearMonthDuration and
    xdt:dayTimeDuration defined in 10.3 Two Totally Ordered Subtypes
    of Duration. 

The set of types described here does not include xdt:anyAtomicType. But it
would do no harm to spell this out more explicitly.

Michael Kay
Received on Tuesday, 4 April 2006 08:50:54 UTC

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