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

[Bug 2039] value constraints with type ENTITY/ENTITIES

From: <bugzilla@wiggum.w3.org>
Date: Thu, 08 Sep 2005 03:07:04 +0000
To: www-xml-schema-comments@w3.org
Cc:
Message-Id: <E1EDCki-0005V3-WF@wiggum.w3.org>

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 GMT

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