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

And the DTD says, "I'm NOT dead yet!!"

  • From: "Bullard, Claude L (Len)" <clbullar@i...>
  • To: xml-dev@l...
  • Date: Fri, 05 Jan 2001 12:53:30 -0600

dtd dead
The XML Schema spec 

http://www.w3.org/TR/xmlschema-1/#normative-schemaSchema

says 

"The XML Schema definition for XML Schema: Structures itself is
presented here as normative part of the specification, and as an
illustrative example of the XML Schema in defining itself with the very
constructs that it defines. The names of XML Schema language types,
elements, attributes and groups defined here are evocative of their
purpose, but are occasionally verbose."

then provides

<?xml version='1.0' encoding='UTF-8'?>
<!-- XML Schema schema for XML Schemas: Part 1: Structures -->
<!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSCHEMA 200010//EN" "XMLSchema.dtd" [
<!--
     keep this schema XML1.0 DTD valid
  -->
<!ATTLIST element xmlns:x CDATA #IMPLIED>
<!-- provide ID type information even for parsers which only read the
     internal subset -->
<!ATTLIST schema          id  ID  #IMPLIED>
<!ATTLIST complexType     id  ID  #IMPLIED>
<!ATTLIST complexContent  id  ID  #IMPLIED>
<!ATTLIST simpleContent   id  ID  #IMPLIED>
<!ATTLIST extension       id  ID  #IMPLIED>
<!ATTLIST element         id  ID  #IMPLIED>
<!ATTLIST group           id  ID  #IMPLIED> 
<!ATTLIST all             id  ID  #IMPLIED>
<!ATTLIST choice          id  ID  #IMPLIED>
<!ATTLIST sequence        id  ID  #IMPLIED>
<!ATTLIST any             id  ID  #IMPLIED>
<!ATTLIST anyAttribute    id  ID  #IMPLIED>
<!ATTLIST attribute       id  ID  #IMPLIED>
<!ATTLIST attributeGroup  id  ID  #IMPLIED>
<!ATTLIST unique          id  ID  #IMPLIED>
<!ATTLIST key             id  ID  #IMPLIED>
<!ATTLIST keyref          id  ID  #IMPLIED>
<!ATTLIST selector        id  ID  #IMPLIED>
<!ATTLIST field           id  ID  #IMPLIED>
<!ATTLIST include         id  ID  #IMPLIED>
<!ATTLIST import          id  ID  #IMPLIED>
<!ATTLIST redefine        id  ID  #IMPLIED>
<!ATTLIST notation        id  ID  #IMPLIED>
]>

Elsewhere

"Although this DTD is non-normative, any XML document which is not valid per
this DTD, given redefinitions in its internal subset of the 'p' and 's'
parameter entities below appropriate to its namespace declaration of the XML
Schema namespace, is almost certainly not a valid schema document, with the
exception of documents with multiple namespace prefixes for the XML Schema
namespace itself"

Having just read another round of "DTDs are Dead and 
Deserve to Be" in an article prominently quoting 
a W3C official who is in charge of architectures, 
why is that there?

Len Bullard
Intergraph Public Safety
clbullar@i...
http://www.mp3.com/LenBullard

Ekam sat.h, Vipraah bahudhaa vadanti.
Daamyata. Datta. Dayadhvam.h

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.