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

RE: Versioning of XML Schema and namespaces

From: Michael Kay <mike@saxonica.com>
Date: Tue, 10 May 2005 08:56:56 +0100
To: <John.Hockaday@ga.gov.au>, <xmlschema-dev@w3.org>
Message-ID: <E1DVPc3-0008Lt-OW@bart.w3.org>
RE: Versioning of XML Schema and namespaces

> What should
> an XML document instance that tells you what XSD to validate 
> it against look like? 

In my view, it should look something like this:

<?xml version="1.0"?>
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
               version="2.0">

The namespace tells you what standard vocabulary the document uses, and the
version attribute tells you what version of that standard is used.

The job of finding a suitable schema (or other tool) to verify that the
document does indeed conform to that standard is left entirely to the
recipient.

As has been said a number of times on this thread, the recipient is
validating the document because he doesn't trust the sender. So it makes no
sense at all to validate against a schema nominated by the sender.

Michael Kay
http://www.saxonica.com/
Received on Tuesday, 10 May 2005 07:57:11 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.