W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2010

[Bug 10374] New: minor editorial improvement

From: <bugzilla@jessica.w3.org>
Date: Mon, 16 Aug 2010 03:44:24 +0000
To: www-xml-schema-comments@w3.org
Message-ID: <bug-10374-703@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10374

           Summary: minor editorial improvement
           Product: XML Schema
           Version: 1.1 only
          Platform: All
               URL: http://www.w3.org/TR/xmlschema11-2/
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Datatypes: XSD Part 2
        AssignedTo: David_E3@VERIFONE.com
        ReportedBy: gandhi.mukul@gmail.com
         QAContact: www-xml-schema-comments@w3.org
                CC: cmsmcq@blackmesatech.com


In XSD 1.1 data types spec, the base type of ENTITIES, IDREFS and NMTOKENS is
anySimpleType (this is reflected in the type hierarchy diagram available at,
http://www.w3.org/TR/xmlschema11-2/#built-in-datatypes). But this particular
type/subtype relationship is not described anywhere in the XSD 1.1 data types
spec prose.

Whereas for many of the other built-in schema types, texts like following is
provided in the spec:
"The ·base type· of xx is yy"

I think it would be good if the spec provides text like following for the types
ENTITIES, IDREFS and NMTOKENS: 

3.4.12 ENTITIES -> The ·item type· of ENTITIES is ENTITY and base type is
anySimpleType (the current text being -- The ·item type· of ENTITIES is
ENTITY).

3.4.10 IDREFS -> The ·item type· of IDREFS is IDREF and base type is
anySimpleType (the current text being -- The ·item type· of IDREFS is IDREF).

3.4.5 NMTOKENS -> The ·item type· of NMTOKENS is NMTOKEN and base type is
anySimpleType (the current text being -- The ·item type· of NMTOKENS is
NMTOKEN).

This change in text would particularly be helpful to readers, because in XSD
1.0 data types spec base types of ENTITIES, IDREFS and NMTOKENS were ENTITY,
IDREF and NMTOKEN respectively.

-- 
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 Monday, 16 August 2010 03:44:25 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:10 UTC