W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2001

Schema resolver

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Thu, 08 Nov 2001 10:44:00 +0100
Message-ID: <3BEA53E0.5060906@dyomedea.com>
To: xmlschema-dev@w3.org
Just another idea for the developpers of schema processor which could be 
worth implementing...

What about defining a callback, similar to the SAX entity resolver which 
a schema processor would call before retrieving a schema.

The parameter could include the target namespace, the proposed schema 
location (when the processor already has its own idea about a location) 
and a code identifying the reason why the processor has chosen the location.

The schema resolver would have all it needs to take a decision which 
could be "go ahead", "use this location instead", "skip this schema" or 
"abort".

I think that it would give to the applications the flexibility they may 
need to locate the schemas, and could be used (for instance) to process 
namespaces pointing to RDDL documents.

Eric
-- 
Rendez-vous  Paris pour le Forum XML.
                    http://www.technoforum.fr/Pages/forumXML01/index.html
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------
Received on Thursday, 8 November 2001 04:44:10 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:53 UTC