This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 8474 - declaration for 'restriction' in XMLSchema.dtd needs update
Summary: declaration for 'restriction' in XMLSchema.dtd needs update
Status: RESOLVED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Datatypes: XSD Part 2 (show other bugs)
Version: 1.1 only
Hardware: Macintosh Mac System 9.x
: P2 normal
Target Milestone: ---
Assignee: David Ezell
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords: resolved
Depends on:
Blocks:
 
Reported: 2009-12-11 01:02 UTC by C. M. Sperberg-McQueen
Modified: 2011-01-24 01:21 UTC (History)
1 user (show)

See Also:


Attachments

Description C. M. Sperberg-McQueen 2009-12-11 01:02:29 UTC
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 'openContent' element.  Other declarations may also need update; I haven'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'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.
Comment 1 C. M. Sperberg-McQueen 2010-11-27 00:43:14 UTC
The required change is in the Structures spec:  change

  <!-- This is used in part2 -->
  <!ENTITY % restriction1 '((%mgs; | %group;)?)'>

to 

  <!-- This is used in part2 -->
  <!ENTITY % restriction1 '(%openContent;, (%mgs; | %group;)?)'>
Comment 2 C. M. Sperberg-McQueen 2011-01-24 01:21:54 UTC
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't been.  I've now done it, and checked it.)

So I'm marking this as resolved.