Ebner, ZG 8640, BN wrote: > we've used the following approach to clean up our links: In our catalog.xml, > we used something like the following > <rewriteURI > rewritePrefix="file:///D:/docbook/dist/work/" > uriStartString="local://"/> > That way, it's possible to access all local files using the protocol local. > An example to that would be: > > <!ENTITY % localentities SYSTEM "local://entities/local.entities.dtd"> > %localentities; > > My only problem (and that's a killer one), is that XMLmind refuses to load > the document while complaining about an unknown Protocol "local:". > > As XMLmind itself uses a similar line in its own catalog (<rewriteURI > uriStartString="xxe-config:" rewritePrefix="." />), I was wondering why it's > complaining about mine...
I don't think the problem comes from uriStartString="local://". I think the problem comes from the fact that XXE does not see or cannot use your catalog.xml. Please use "Help|About XMLmind XML Editor" to check that your XML catalog is listed there. If your XML catalog is listed in this dialog box: [1] Try with rewritePrefix="file:///D:/docbook/dist/work" (no ending '/'). [2] Try with rewritePrefix="...relative path..." (just for testing). [3] Start XXE with a console to see if the XML catalog resolver crashes. To do this, edit <XXE_install_dir>/xxe.jstart using notepad and replace "javaw" by "java". Make sure to save modified file as UTF-8.

