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

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>
internal schema

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
1-617-693-4036
--------------------------------------
Received on Wednesday, 14 December 2005 15:38:01 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
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-2007 All Rights Reserved.