<?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>2041</bug_id>
          
          <creation_ts>2005-09-08 03:26:38 +0000</creation_ts>
          <short_desc>Apply value constraints for attributes with type IDREF/IDREFS/ENTITY/ENTITIES</short_desc>
          <delta_ts>2007-05-25 13:36:10 +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.0/1.1 both</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></status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sandy Gao">sandygao</reporter>
          <assigned_to name="XML Schema WG">w3c-xml-schema-wg</assigned_to>
          
          
          <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>5881</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-08 03:26:39 +0000</bug_when>
    <thetext>When an attribute value constraint is applied and the corresponding declaration 
has one of these 4 types or a type derived from one of them, should 
IDREF/ENTITY rules be enforced? My intuition is they should, but the spec seems 
to suggest they are not checked, because those attributes are 
neither &quot;validated&quot; (required by IDREF in section 3.15.3) nor &quot;string valid&quot; 
(required by ENTITY in section 3.14.4).

Seems that when applying element value constraints with those types, 
IDREF/ENTITY special rules are enforced.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6350</commentid>
    <comment_count>1</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-19 21:19:34 +0000</bug_when>
    <thetext>Discussed during 2005-09-09 telecon. Classify as clarification with corrigendum.

http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2005Sep/att-0073/2005-09-
09telcon.html#item07</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15200</commentid>
    <comment_count>2</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2007-05-25 13:35:21 +0000</bug_when>
    <thetext>Discussed at 2007-05-18 telecon. Adopted the following proposal.

- When attributes with ENEITY/ENTITIES types are defaulted, the constraint &quot;String Valid&quot; is used to ensure there are corresponding entities declared in the instance document.
- When applying ID/IDREF rules, take into account default element/attribute values.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>