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 XML Schema proposal 1999-12-17


Date:     Fri, 17 Dec 1999 18:09:39 -0500
From:     "DuCharme, Robert" <DuCharmR@moodys.com>
To:       xml-dev@ic.ac.uk
Subject:  dtddiff of new schema proposal 

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.


    ----------------------------------------------------------------------
                 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)*)


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

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/schemaV4diff.html