[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

dtddiff of XSDL 5/99 and 9/99

  • From: "DuCharme, Robert" <DuCharmR@m...>
  • To: "'xml-dev'" <xml-dev@i...>
  • Date: Tue, 28 Sep 1999 11:23:38 -0400

dtddiff
I ran Earl Hood's dtddiff on the DTD provided in Appendix B of the September
24th W3C Schema WD to compare it to the May version, and thought others
might be interested in the output. (See
http://www.oac.uci.edu/indiv/ehood/perlSGML.html for Earl's excellent
collection of DTD manipulation tools which, although written for SGML DTDs,
work fine with XML DTDs.) It's a nice, concise summary of differences. If
your mail reader displays it in a proportional font, set it to a monospaced
font to make the columns line up properly.

Bob DuCharme       www.snee.com/bob       <bob@  
snee.com>  see www.snee.com/bob/xmlann for "XML:
The Annotated Specification" from Prentice Hall.


    ----------------------------------------------------------------------
                 New Elements/Attributes (xmlschema9-99.dtd)
    ----------------------------------------------------------------------
   <archetype content>              <archetype default>
   <archetype fixed>                <archetype order>
   <archetype schemaabbrev>         <archetype schemaname>
   <archetype type>                 <attribute>
   <attribute default>              <attribute fixed>
   <attribute maxoccurs>            <attribute minoccurs>
   <attribute name>                 <attribute schemaabbrev>
   <attribute schemaname>           <attribute type>
   <component>                      <component name>
   <component type>                 <datatypequal>
   <element>                        <element archref>
   <element default>                <element export>
   <element fixed>                  <element maxoccurs>
   <element minoccurs>              <element name>
   <element ref>                    <element schemaabbrev>
   <element schemaname>             <element type>
   <encoding>                       <export elements>
   <group>                          <group collection>
   <group maxoccurs>                <group minoccurs>
   <group name>                     <group order>
   <import elements>                <include elements>
   <maxabsolutevalue>               <minabsolutevalue>
   <modelgroup order>               <modelgroupref maxoccurs>
   <modelgroupref minoccurs>        <refines name>
   <refines schemaabbrev>           <refines schemaname>
   <schema targetns>
    ----------------------------------------------------------------------
             Old/removed Elements/Attributes (xmlschema5-99.dtd)
    ----------------------------------------------------------------------
   <all>                            <all maxoccur>
   <all minoccur>                   <any>
   <archetype export>               <archetyperef>
   <archetyperef name>              <archetyperef schemaabbrev>
   <archetyperef schemaname>        <attrdecl>
   <attrdecl name>                  <attrdecl required>
   <choice>                         <choice maxoccur>
   <choice minoccur>                <datatyperef>
   <datatyperef name>               <datatyperef schemaabbrev>
   <datatyperef schemaname>         <default>
   <elementtype>                    <elementtype export>
   <elementtype model>              <elementtype name>
   <elementtyperef>                 <elementtyperef maxoccur>
   <elementtyperef minoccur>        <elementtyperef name>
   <elementtyperef schemaabbrev>    <elementtyperef schemaname>
   <empty>                          <entityref>
   <entityref name>                 <entityref schemaabbrev>
   <entityref schemaname>           <export elementtypes>
   <fixed>                          <import elementtypes>
   <include elementtypes>           <mixed>
   <modelgroupref maxoccur>         <modelgroupref minoccur>
   <notationref>                    <notationref name>
   <notationref schemaabbrev>       <notationref schemaname>
   <schema name>                    <sequence>
   <sequence maxoccur>              <sequence minoccur>
    ----------------------------------------------------------------------
                           Content Rule Differences
    ----------------------------------------------------------------------
         ------------------------------------------------------------
                            <ARCHETYPE>

  << old content rule <<
  (refines?,
   (DATATYPEREF|
    (ANY|EMPTY|ALL|CHOICE|ELEMENTTYPEREF|ELEMENTTYPE|SEQUENCE|MIXED|
     modelgroupref))?,
   (ATTRDECL|attrgroupref)*)

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

         ------------------------------------------------------------
                            <ATTRGROUP>

  << old content rule <<
  (ATTRDECL|attrgroupref)+

  >> new content rule >>
  (attribute|attrgroupref)+

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

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

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

         ------------------------------------------------------------
                              <IMPORT>

  << old content rule <<
  ((ELEMENTTYPEREF|ARCHETYPEREF|DATATYPEREF|modelgroupref|attrgroupref|
    ENTITYREF|NOTATIONREF)*)

  >> new content rule >>
  (component*)

         ------------------------------------------------------------
                             <INCLUDE>

  << old content rule <<
  ((ELEMENTTYPEREF|ARCHETYPEREF|DATATYPEREF|modelgroupref|attrgroupref|
    ENTITYREF|NOTATIONREF)*)

  >> new content rule >>
  (component*)

         ------------------------------------------------------------
                            <MODELGROUP>

  << old content rule <<
  (ALL|CHOICE|ELEMENTTYPEREF|ELEMENTTYPE|SEQUENCE)

  >> new content rule >>
  (element|group|modelgroupref)+

         ------------------------------------------------------------
                             <REFINES>

  << old content rule <<
  (ARCHETYPEREF)*

  >> new content rule >>
  EMPTY

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

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

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

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.