W3C home > Mailing lists > Public > xml-editor@w3.org > April to June 2005

Does it distinguish a narrow and broad sense of "Valid XML document"?

From: Collin Hsu <collin@w3china.org>
Date: Sat, 11 Jun 2005 00:26:57 +0800
To: <xml-editor@w3.org>
Message-ID: <E1DgmLX-0001fE-Pg@lisa.w3.org>

I noticed there are two different ways to understand what is a "valid XML
document". 

Within normartive XML specs, the wording "valid XML document" is defined in
XML 1.0 Recommendations, in which "valid XML document" refers to (in narrow
sense) those XML documents that has a DTD and indeed conforms to the DTD.
In XML Schema recommendation, it has a similiar concept, but with a
different wording, called "schema valid instance document". 

However, in informal situations,  "valid document" usually refers to an XML
document that is conformant with a schema, either DTD or XML Schema. 

My question is if it makes sense to unify  the two concepts in certain
normative W3C document( i.e. to make "valid document" a normative term
refering to a DTD or XML Schema valid document)?



Collin
Received on Friday, 10 June 2005 16:27:08 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:56 UTC