W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2006

[Bug 3994] value constraints with type ENTITY/ENTITIES

From: <bugzilla@wiggum.w3.org>
Date: Wed, 22 Nov 2006 04:18:41 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1GmjZJ-00034r-Cm@wiggum.w3.org>


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

When a value constraint is specified on an element/attribute declaration, it's 
required for the canonical lexical representation to be "string valid" with 
respect to the type. When the type is or is derived from ENTITY or 
ENTITIES, "string valid" requires that entity values need to be "declared 
entity name"s. 2 questions:
- Should we enforce "entity" constraints when checking value constraint values? 
(I tend to think the answer should be "No".)
- Assume the answer to the above question is yes, then do the values need to be 
entity names declared in the schema document?
Received on Wednesday, 22 November 2006 04:18:54 UTC

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