<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>2039</bug_id>
          
          <creation_ts>2005-09-08 03:06:58 +0000</creation_ts>
          <short_desc>value constraints with type ENTITY/ENTITIES</short_desc>
          <delta_ts>2012-12-31 05:00:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema</product>
          <component>Structures: XSD Part 1</component>
          <version>1.1 only</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>thimble, work</status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P4</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>3994</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Sandy Gao">sandygao</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          <cc>contributor</cc>
          
          <qa_contact name="XML Schema comments list">www-xml-schema-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>5879</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-08 03:07:03 +0000</bug_when>
    <thetext>When a value constraint is specified on an element/attribute declaration, it&apos;s 
required for the canonical lexical representation to be &quot;string valid&quot; with 
respect to the type. When the type is or is derived from ENTITY or 
ENTITIES, &quot;string valid&quot; requires that entity values need to be &quot;declared 
entity name&quot;s. 2 questions:
- Should we enforce &quot;entity&quot; constraints when checking value constraint values? 
(I tend to think the answer should be &quot;No&quot;.)
- Assume the answer to the above question is yes, then do the values need to be 
entity names declared in the schema document?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12980</commentid>
    <comment_count>1</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2006-11-22 03:52:32 +0000</bug_when>
    <thetext>Proposal: when the default value is checked, use &quot;Datatype Valid&quot; directly, instead of the current &quot;String Value&quot;.

Resolution: adopted at 2006-11-17 telecon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80758</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-12-31 05:00:55 +0000</bug_when>
    <thetext>*** Bug 20398 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>