dtddiff of new schema proposal

DuCharme, Robert DuCharmR at moodys.com
Fri Dec 17 23:09:17 GMT 1999


Below is the result of running Earl Hood's dtddiff script to compare the
DTD's from appendix B of the November and December drafts of the W3C Schema
Proposal. There are obviously a lot more differences than there were between
the September and November drafts. Looking through it is still a lot quicker
than reading the entire new draft. It will look better displayed in a
monospaced font than in a proportionally spaced font.

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 (xmlschema12-99.dtd)
    ----------------------------------------------------------------------
	<annotation>                     <any>
	<any maxoccurs>                  <any minoccurs>
	<any namespace>                  <anyattribute>
	<anyattribute namespace>         <appinfo>
	<appinfo source>                 <attributegroup>
	<attributegroup name>            <attributegroup ref>
	<datatype abstract>              <datatype final>
	<datatype source>                <element abstract>
	<element equivclass>             <element exact>
	<element final>                  <element nullable>
	<encoding value>                 <enumeration value>
	<field>                          <import namespace>
	<import schemalocation>          <include schemalocation>
	<info>                           <info source>
	<info xml:lang>                  <key>
	<key name>                       <keyref>
	<keyref name>                    <keyref refer>
	<length value>                   <maxexclusive value>
	<maxinclusive value>             <maxlength value>
	<minexclusive value>             <mininclusive value>
	<minlength>                      <minlength value>
	<pattern value>                  <period value>
	<precision value>                <restrictions>
	<scale value>                    <schema exactdefault>
	<schema finaldefault>            <schema targetnamespace>
	<selector>                       <sic>
	<type>                           <type abstract>
	<type content>                   <type derivedby>
	<type exact>                     <type final>
	<type name>                      <type source>
	<unique>                         <unique name>
    ----------------------------------------------------------------------
             Old/removed Elements/Attributes (xmlschema11-99.dtd)
    ----------------------------------------------------------------------
	<archetype>                      <archetype content>
	<archetype default>              <archetype fixed>
	<archetype model>                <archetype name>
	<archetype order>                <archetype schemaabbrev>
	<archetype schemaname>           <archetype type>
	<attrgroup>                      <attrgroup export>
	<attrgroup name>                 <attrgroupref>
	<attrgroupref name>              <attrgroupref schemaabbrev>
	<attrgroupref schemaname>        <attribute schemaabbrev>
	<attribute schemaname>           <basetype>
	<basetype name>                  <basetype schemaabbrev>
	<basetype schemaname>            <comment>
	<component>                      <component name>
	<component type>                 <datatype export>
	<datatypequal>                   <element archref>
	<element export>                 <element schemaabbrev>
	<element schemaname>             <export>
	<export archetypes>              <export attrgroups>
	<export datatypes>               <export elements>
	<export entities>                <export groups>
	<export notations>               <externalentity>
	<externalentity export>          <externalentity name>
	<externalentity notation>        <externalentity public>
	<externalentity system>          <group collection>
	<group export>                   <group schemaabbrev>
	<group schemaname>               <import archetypes>
	<import attrgroups>              <import datatypes>
	<import elements>                <import entities>
	<import groups>                  <import notations>
	<import schemaabbrev>            <import schemaname>
	<include archetypes>             <include attrgroups>
	<include datatypes>              <include elements>
	<include entities>               <include groups>
	<include notations>              <include schemaname>
	<lexical>                        <literal>
	<maxabsolutevalue>               <minabsolutevalue>
	<notation export>                <refines>
	<refines name>                   <refines schemaabbrev>
	<refines schemaname>             <schema model>
	<schema targetns>                <textentity>
	<textentity export>              <textentity name>
	<unparsedentity>                 <unparsedentity export>
	<unparsedentity name>            <unparsedentity notation>
	<unparsedentity public>          <unparsedentity system>
    ----------------------------------------------------------------------
                           Content Rule Differences
    ----------------------------------------------------------------------
         ------------------------------------------------------------
	                         <ATTRIBUTE>

  << old content rule <<
  ((mininclusive|minexclusive)|
   (maxinclusive|maxexclusive)|
   (MAXABSOLUTEVALUE,MINABSOLUTEVALUE)?|precision|scale|pattern|
   enumeration|length|maxlength|encoding|period)*

  >> new content rule >>
  ((annotation)?,
   (datatype)?)

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

  << old content rule <<
  (BASETYPE,
   ((mininclusive|minexclusive)|
    (maxinclusive|maxexclusive)|
    (MAXABSOLUTEVALUE,MINABSOLUTEVALUE)?|precision|scale|pattern|
    enumeration|length|maxlength|encoding|period)*)

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

         ------------------------------------------------------------
	                          <ELEMENT>

  << old content rule <<
  ((ARCHETYPE|datatype)?)

  >> new content rule >>
  ((annotation)?,
   (type|datatype)?,
   (unique|key|keyref)*)

         ------------------------------------------------------------
	                          <ENCODING>

  << old content rule <<
  (#PCDATA)

  >> new content rule >>
  (annotation)?

         ------------------------------------------------------------
	                        <ENUMERATION>

  << old content rule <<
  (LITERAL)+

  >> new content rule >>
  (annotation)?

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

  << old content rule <<
  (element|group)*

  >> new content rule >>
  ((annotation)?,
   (element|group|any)*)

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

  << old content rule <<
  (COMPONENT*)

  >> new content rule >>
  EMPTY

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

  << old content rule <<
  (COMPONENT*)

  >> new content rule >>
  EMPTY

         ------------------------------------------------------------
	                           <LENGTH>

  << old content rule <<
  (#PCDATA)

  >> new content rule >>
  (annotation)?

         ------------------------------------------------------------
	                        <MAXEXCLUSIVE>

  << old content rule <<
  (#PCDATA)

  >> new content rule >>
  (annotation)?

         ------------------------------------------------------------
	                        <MAXINCLUSIVE>

  << old content rule <<
  (#PCDATA)

  >> new content rule >>
  (annotation)?

         ------------------------------------------------------------
	                         <MAXLENGTH>

  << old content rule <<
  (#PCDATA)

  >> new content rule >>
  (annotation)?

         ------------------------------------------------------------
	                        <MINEXCLUSIVE>

  << old content rule <<
  (#PCDATA)

  >> new content rule >>
  (annotation)?

         ------------------------------------------------------------
	                        <MININCLUSIVE>

  << old content rule <<
  (#PCDATA)

  >> new content rule >>
  (annotation)?

         ------------------------------------------------------------
	                          <PATTERN>

  << old content rule <<
  (LEXICAL)+

  >> new content rule >>
  (annotation)?

         ------------------------------------------------------------
	                           <PERIOD>

  << old content rule <<
  (#PCDATA)

  >> new content rule >>
  (annotation)?

         ------------------------------------------------------------
	                         <PRECISION>

  << old content rule <<
  (#PCDATA)

  >> new content rule >>
  (annotation)?

         ------------------------------------------------------------
	                           <SCALE>

  << old content rule <<
  (#PCDATA)

  >> new content rule >>
  (annotation)?

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

  << old content rule <<
  ((import*,include*,EXPORT?,
    (COMMENT|datatype|ARCHETYPE|element|ATTRGROUP|group|notation|
     TEXTENTITY|EXTERNALENTITY|UNPARSEDENTITY)*))

  >> new content rule >>
  ((include|import|annotation)*,
   (datatype|type|element|attributegroup|group|notation),
   (annotation|datatype|type|element|attributegroup|group|notation|unique|
    key|keyref)*)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at 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 at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list