OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   dtddiff of XSDL November and September drafts

[ Lists Home | Date Index | Thread Index ]
  • From: "DuCharme, Robert" <DuCharmR@moodys.com>
  • To: xml-dev@ic.ac.uk
  • Date: Tue, 9 Nov 1999 12:10:55 -0500

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
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS