W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2003

Re: Do XML Schema processors verify schemas using XML Schema?

From: Robin Berjon <robin.berjon@expway.fr>
Date: Wed, 08 Oct 2003 14:55:09 +0200
Message-ID: <3F84092D.20609@expway.fr>
To: Sam Tregar <sam@tregar.com>
Cc: xmlschema-dev@w3.org

Sam Tregar wrote:
> I'm curious to know if most (any?) XML Schema processors verify their
> schemas using XML Schema.  I'm working on XML::Validator::Schema and
> so far I've been validating the schema structure manually in the code.
> It seems that at some point I should switch over to processing the
> schema itself through the validator.

We tried this approach but it turned out not to be so attractive. Since the 
schema only checks roughly 30% of what must be checked it's probably not worth 
using that, especially so long as your implementation isn't complete :) However, 
you could want to embed Schematron rules in it, there's already an 
implementation on CPAN that should be reusable, and I think someone produced a 
schema+schematron version of the s4s that you could compile, cache, and use.

Robin Berjon <robin.berjon@expway.fr>
Research Scientist, Expway      http://expway.com/
7FC0 6F5F D864 EFB8 08CE  8E74 58E6 D5DB 4889 2488
Received on Wednesday, 8 October 2003 08:53:13 UTC

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