W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2011

Re: trouble creating javax.xml.validation.Validator from locally cached version of XMLSchema.xsd

From: Michael Kay <mike@saxonica.com>
Date: Tue, 04 Jan 2011 22:09:05 +0000
Message-ID: <4D239A81.5030907@saxonica.com>
To: Andy Davidson <andy_davidson@apple.com>
CC: xmlschema-dev@w3.org
On 04/01/2011 21:09, Andy Davidson wrote:
> Hi
> I need to write a code generation tool that takes in XSD files as 
> input. The first thing I want to do is make sure the XSD input file is 
> valid.

The best way of validating a schema is to check that it's acceptable to 
a schema processor. This is a much more rigorous check than testing for 
validity against the schema-for-schemas, and it may also be faster.

Michael Kay
Received on Tuesday, 4 January 2011 22:09:32 UTC

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