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

RE: Erratum in section 1.1 of Canonical XML

From: John Boyer <JBoyer@PureEdge.com>
Date: Wed, 9 May 2001 13:08:11 -0700
Message-ID: <7874BFCCD289A645B5CE3935769F0B520C33C3@tigger.PureEdge.com>
To: "Elliotte Rusty Harold" <elharo@metalab.unc.edu>
Cc: <w3c-ietf-xmldsig@w3.org>

Hi Elliotte,

[Definition: The XML document type declaration contains or points to 
markup declarations that provide a grammar for a class of documents. 
This grammar is known as a document type definition, or DTD. The 
document type declaration can point to an external subset (a special 
kind of external entity) containing markup declarations, or can 
contain the markup declarations directly in an internal subset, or 
can do both. The DTD for a document consists of both subsets taken 

I think we read the last sentence of this definition differently.  I
read it as pretty much establishing that they are the same thing since
the DTD for a document consists of precisely that which is represented
by a document type declaration.  To wit, immediately below the
definition you cited, there appears the following:

Document Type Definition

[28]    doctypedecl    ::=    '<!DOCTYPE' S Name (S ExternalID)? S? ('['
(markupdecl | DeclSep)* ']' S?)? '>' [VC: Root Element Type] 

In other words, a document type definition is defined to be that which
gramatically resolves to a document type declaration.

John Boyer
Senior Product Architect, Software Development
Internet Commerce System (ICS) Team
PureEdge Solutions Inc. 
Trusted Digital Relationships
v: 250-708-8047  f: 250-708-8010
1-888-517-2675   http://www.PureEdge.com <http://www.pureedge.com/>  	
Received on Wednesday, 9 May 2001 16:09:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:10:04 UTC