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

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>

> 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"

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

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
Received on Tuesday, 10 May 2005 07:57:11 UTC

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