<?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>8474</bug_id>
          
          <creation_ts>2009-12-11 01:02:29 +0000</creation_ts>
          <short_desc>declaration for &apos;restriction&apos; in XMLSchema.dtd needs update</short_desc>
          <delta_ts>2011-01-24 01:21:54 +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>Datatypes: XSD Part 2</component>
          <version>1.1 only</version>
          <rep_platform>Macintosh</rep_platform>
          <op_sys>Mac System 9.x</op_sys>
          <bug_status>RESOLVED</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="C. M. Sperberg-McQueen">cmsmcq</reporter>
          <assigned_to name="David Ezell">David_E3</assigned_to>
          <cc>cmsmcq</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>30072</commentid>
    <comment_count>0</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2009-12-11 01:02:29 +0000</bug_when>
    <thetext>In XMLSchema.dtd, the declaration for restriction must allow both the content allowed by restriction in a complex type and the content allowed by restriction in a simple type.  The DTD version needs to be updated to reflect the addition of the &apos;openContent&apos; element.  Other declarations may also need update; I haven&apos;t looked.

This was raised some time ago on xmlschema-dev but we appear not to have opened an issue for it, and we appear not to have fixed the problem.  (If we did fix it, or we have figured out that there is no problem, and I&apos;ve overlooked the fact, this issue can be closed without further work.)

The relevant schemadev thread is the one including the message
http://lists.w3.org/Archives/Public/xmlschema-dev/2009Jul/0014.html
from Roger Costello.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42805</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2010-11-27 00:43:14 +0000</bug_when>
    <thetext>The required change is in the Structures spec:  change

  &lt;!-- This is used in part2 --&gt;
  &lt;!ENTITY % restriction1 &apos;((%mgs; | %group;)?)&apos;&gt;

to 

  &lt;!-- This is used in part2 --&gt;
  &lt;!ENTITY % restriction1 &apos;(%openContent;, (%mgs; | %group;)?)&apos;&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44640</commentid>
    <comment_count>2</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2011-01-24 01:21:54 +0000</bug_when>
    <thetext>The change mentioned in comment 1 has now been integrated into the member-only status-quo documents at

  http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.html
  http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.diff-wd.html
  http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.diff-1.0.html

(There was some confusion or complication; it was supposed to have been integrated some time ago, but hadn&apos;t been.  I&apos;ve now done it, and checked it.)

So I&apos;m marking this as resolved.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>