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

dtddiff of new schema proposal

  • From: "DuCharme, Robert" <DuCharmR@m...>
  • To: xml-dev@i...
  • Date: Fri, 17 Dec 1999 18:09:39 -0500

dtd diff
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@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe 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.