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
CC:
To: www-xml-schema-comments@w3.org
Message-Id: <E1GmjZJ-00034r-Cm@wiggum.w3.org>

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

           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 GMT

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