W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > April to June 2000

Re: XML Schema working with DTDs?

From: Alex Milowski <alex@milowski.com>
Date: Wed, 3 May 2000 14:36:25 -0700 (PDT)
To: "Henry S. Thompson" <ht@cogsci.ed.ac.uk>
cc: "Joseph M. Reagle Jr." <reagle@w3.org>, xmlschema-dev@w3.org, IETF/W3C XML-DSig WG <w3c-ietf-xmldsig@w3.org>
Message-ID: <Pine.NEB.3.96.1000503143022.11454A-100000@triton>

On 28 Apr 2000, Henry S. Thompson wrote:

> "Joseph M. Reagle Jr." <reagle@w3.org> writes:
> > What if I have a declaration and doctype so my examples also validate
> > against a DTD? I can't find the DTD nor XSD within [1] and any reference to
> > them seems to cause errors ... ?
> > 
> > [1] http://www.w3.org/TR/2000/WD-xmlschema-1-20000407/
> No problem using both DTD and schema.  The schema for schemas does so. 
> There are pointers to the DTD [1] and schema for schemas [2] very near
> the top of the above spec. 

I think this statement is a bit misleading.  There are lots of technical
caveats to getting DTDs and XML Schemas to work together on one document
simultaneously.  The more complex the schema gets, the more difficult the
DTD may be come to generate. 

In addition, if you add the careful "dance" that you must do to get the
prefixes to work properly, I would say that, besides simple documents,
there are lots of problems.

It would be more correct to say:

  "You may be able to use a DTD via a DOCTYPE statement at the same time
   as using an XML Schema if you carefully execute the authoring of the
   document with a number of caveats in mind.  This caveats are: ..."

R. Alexander Milowski           FAX: (707) 598-7649           alex@milowski.com

"The excellence of grammar as a guide is proportional to the paucity of the
 inflexions, i.e. to the degree of analysis effected by the language

 Bertrand Russell in a footnote of Principles of Mathematics
Received on Wednesday, 3 May 2000 17:36:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:21:33 UTC