Joerg Heinicke wrote:
> Williams, Adam I. wrote:
> 
> > I admit. I have read the manual. And I've searched the mail archive...
> > 
> > I find no example of how to resolve a schemaLocation using the Catalog,
> > as in:
> > 
> > <n:page
> > xmlns:n="http://www.n.com";
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xsi:schemaLocation="http://www.n.com n.xsd">
> > 
> > I want to use a local version on my hard drive.
> > 
> > Of course, resolving DOCTYPE declarations is simple. What do I need to
> > do to make a schema reference work?
> 
> If it is possible at all, I guess you have to read the documentation on 
> the XML Commons Resolver: 
> http://xml.apache.org/commons/components/resolver/index.html. This is 
> the package we have in use for catalogue resolving.

As far as i know xml-commons-resolver does not do that yet.

One thing that may help is Namespace Routing Language NRL
http://www.thaiopensource.com/relaxng/nrl.html

I gather that the version of Jing shipped with Cocoon utilises it,
but not had time yet to investigate.

--David



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to