Schema resolver

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