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

[Bug 2041] Apply value constraints for attributes with type IDREF/IDREFS/ENTITY/ENTITIES

From: <bugzilla@wiggum.w3.org>
Date: Thu, 08 Sep 2005 03:26:40 +0000
To: www-xml-schema-comments@w3.org
Cc:
Message-Id: <E1EDD3g-0007Vi-6a@wiggum.w3.org>

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

           Summary: Apply value constraints for attributes with type
                    IDREF/IDREFS/ENTITY/ENTITIES
           Product: XML Schema
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSD Part 1: Structures
        AssignedTo: ht@w3.org
        ReportedBy: sandygao@ca.ibm.com
         QAContact: www-xml-schema-comments@w3.org


When an attribute value constraint is applied and the corresponding declaration 
has one of these 4 types or a type derived from one of them, should 
IDREF/ENTITY rules be enforced? My intuition is they should, but the spec seems 
to suggest they are not checked, because those attributes are 
neither "validated" (required by IDREF in section 3.15.3) nor "string valid" 
(required by ENTITY in section 3.14.4).

Seems that when applying element value constraints with those types, 
IDREF/ENTITY special rules are enforced.
Received on Thursday, 8 September 2005 03:26:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:09 GMT