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