W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2005

Re: internal schema?

From: <noah_mendelsohn@us.ibm.com>
Date: Wed, 14 Dec 2005 10:31:20 -0500
To: "C. M. Sperberg-McQueen" <cmsmcq@acm.org>
Cc: nagarajank@huawei.com, xmlschema-dev@w3.org
Message-ID: <OF99691830.F7E89D87-ON852570D7.00550D89-852570D7.005548AE@lotus.com>

Michael Sperberg-McQueen writes:

> 3 Normally, one would want to use inline schemas on just the 
> payload, not on the entire XML document.

Yes.  Crucially, in case it's not obvious, the alternative would be to 
have the schema validating itself along with the rest of the document, 
since you've asked to have the schema in the element tree.

In the case of DTDs, XML gives you a place to put the internal subset 
that's distinct from the element tree.  Unfortunately, XML is not 
currently extensible in a way that would allow you to put an XML Schema 
(or RelaxNG or Schematron schema) as a true replacement for the DTD.

Noah Mendelsohn 
IBM Corporation
One Rogers Street
Cambridge, MA 02142
Received on Wednesday, 14 December 2005 15:38:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:09 UTC