Cover Pages Logo SEARCH
Advanced Search
ABOUT
Site Map
CP RSS Channel
Contact Us
Sponsoring CP
About Our Sponsors

NEWS
Cover Stories
Articles & Papers
Press Releases

CORE STANDARDS
XML
SGML
Schemas
XSL/XSLT/XPath
XLink
XML Query
CSS
SVG

TECHNOLOGY REPORTS
XML Applications
General Apps
Government Apps
Academic Apps

EVENTS
LIBRARY
Introductions
FAQs
Bibliography
Technology and Society
Semantics
Tech Topics
Software
Related Standards
Historic

dtddiff of XSDL November and September drafts


Date: Tue, 9 Nov 1999 12:10:55 -0500 
From: "DuCharme, Robert" <DuCharmR@moodys.com>
To: xml-dev@ic.ac.uk
Subject: dtddiff of XSDL November and September drafts

Below is the output of Earl Hood's dtddiff utility (see http://www.oac.uci.edu/indiv/ehood/perlSGML.html for his collection of perlSGML utilities) when comparing the DTD from the November 5th draft of the W3C XML Schema proposal with the one from the September 24th version. The two-column arrangement is easier to read in monospaced type. Note that content model differences are highlighted by the use of all caps for the changed parts.

Bob DuCharme www.snee.com/bob <bob@
snee.com> "The elements be kind to thee, and make thy
spirits all of comfort!" Anthony and Cleopatra, III ii




    ----------------------------------------------------------------------
                 New Elements/Attributes (xmlschema11-99.dtd)
    ----------------------------------------------------------------------
	<export groups>                  <group export>
	<group ref>                      <group schemaabbrev>
	<group schemaname>               <import groups>
	<include groups>                 <pattern>
	<period>
    ----------------------------------------------------------------------
             Old/removed Elements/Attributes (xmlschema9-99.dtd)
    ----------------------------------------------------------------------
	<export modelgroups>             <import modelgroups>
	<include modelgroups>            <lexicalrepresentation>
	<modelgroup>                     <modelgroup export>
	<modelgroup name>                <modelgroup order>
	<modelgroupref>                  <modelgroupref maxoccurs>
	<modelgroupref minoccurs>        <modelgroupref name>
	<modelgroupref schemaabbrev>     <modelgroupref schemaname>
    ----------------------------------------------------------------------
                           Content Rule Differences
    ----------------------------------------------------------------------
         ------------------------------------------------------------
	                         <ARCHETYPE>

  << old content rule <<
  (refines*,
   ((element|group|MODELGROUPREF)*|datatypequal?),
   (attribute|attrgroupref)*)

  >> new content rule >>
  (refines*,
   ((element|group)*|datatypequal?),
   (attribute|attrgroupref)*)

         ------------------------------------------------------------
	                         <ATTRIBUTE>

  << old content rule <<
  ((mininclusive|minexclusive)|
   (maxinclusive|maxexclusive)|
   (maxabsolutevalue,minabsolutevalue)?|precision|scale|
   LEXICALREPRESENTATION|enumeration|length|maxlength|encoding)*

  >> new content rule >>
  ((mininclusive|minexclusive)|
   (maxinclusive|maxexclusive)|
   (maxabsolutevalue,minabsolutevalue)?|precision|scale|pattern|
   enumeration|length|maxlength|encoding|period)*

         ------------------------------------------------------------
	                          <DATATYPE>

  << old content rule <<
  (basetype,
   ((mininclusive|minexclusive)|
    (maxinclusive|maxexclusive)|
    (maxabsolutevalue,minabsolutevalue)?|precision|scale|
    LEXICALREPRESENTATION|enumeration|length|maxlength|encoding)*)

  >> new content rule >>
  (basetype,
   ((mininclusive|minexclusive)|
    (maxinclusive|maxexclusive)|
    (maxabsolutevalue,minabsolutevalue)?|precision|scale|pattern|
    enumeration|length|maxlength|encoding|period)*)

         ------------------------------------------------------------
	                        <DATATYPEQUAL>

  << old content rule <<
  ((mininclusive|minexclusive)|
   (maxinclusive|maxexclusive)|
   (maxabsolutevalue,minabsolutevalue)?|precision|scale|
   LEXICALREPRESENTATION|enumeration|length|maxlength|encoding)*

  >> new content rule >>
  ((mininclusive|minexclusive)|
   (maxinclusive|maxexclusive)|
   (maxabsolutevalue,minabsolutevalue)?|precision|scale|pattern|
   enumeration|length|maxlength|encoding|period)*

         ------------------------------------------------------------
	                           <GROUP>

  << old content rule <<
  (element|group|MODELGROUPREF)+

  >> new content rule >>
  (element|group)*

         ------------------------------------------------------------
	                           <SCHEMA>

  << old content rule <<
  ((import*,include*,export?,
    (comment|datatype|archetype|element|attrgroup|MODELGROUP|notation|
     textentity|externalentity|unparsedentity)*))

  >> new content rule >>
  ((import*,include*,export?,
    (comment|datatype|archetype|element|attrgroup|group|notation|
     textentity|externalentity|unparsedentity)*))



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1


Prepared by Robin Cover for the The SGML/XML Web Page archive.


Globe Image

Document URL: http://xml.coverpages.org/ducharmeSchema23revdiffs.html