[Bug 2039] value constraints with type ENTITY/ENTITIES

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

           Summary: value constraints with type 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 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 Thursday, 8 September 2005 03:07:10 UTC