← Prev in month ← Prev in thread

xml catalogs

From
Dave Pawson <>
Date
2009-08-10T15:36:41+00:00
ID
Thread
xml catalogs
is it possible to use Oasis catalogs to rewrite a simple (wrong)
DTD decl entry?

Currently reads SYSTEM "A.dtd"

Can a catalog resolve that to some other path? /files/dtds/erlref.dtd

Not sure if 
http://www.oasis-open.org/committees/entity/spec-2001-08-06.html#element-rewriteURI
will work.

   <rewriteURI
       uriStartString="erlref"
       rewritePrefix="/dtds/erlref"/>


I want to resolve erlref.dtd to dts/erlref.dtd

It isn't working

rewriteURI: erlref
         /dtds/erlref
REWRITE_URI: erlref
         file:/dtds/erlref
resolveSystem(file:/files/erlang/erlref.dtd)


for some reason it isn't putting the 'dtds' part in?

Any suggestions please



regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
← Prev in month ← Prev in thread