Project

Profile

Help

xml catalogs and relative paths

Added by Anonymous over 19 years ago

Legacy ID: #3299564 Legacy Poster: kendall shaw (queshaw)

I want to resolve relative uris with the document function, e.g.: document('BLAH') Using Norm Walsh's extensions, I have: <ext:uriSuffix suffix="/BLAH" uri="data/blah.xml"/> With verbosity=10 I see it resolves it once, then later fails to resolve it, using the xml base with /BLAH appended, instead. This happens if I: a) java -cp saxon8.jar;resolver.jar;. -r org.apache.xml.resolver.tools.CatalogResolver ... b) Using JAXP with: CatalogResolver cr = new CatalogResolver(); TransformerFactory tf = TransformerFactory.newInstance(); tf.setURIResolver(cr); Transformer trans = new Transformer(xslStreamSource); trans.setURIResolver(cr); ... Do you know a solution?


Replies (1)

RE: xml catalogs and relative paths - Added by Anonymous over 19 years ago

Legacy ID: #3300636 Legacy Poster: Michael Kay (mhkay)

I'm afraid I can't help you with these extensions, and I doubt Norm is tracking this forum. If you don't get a response, be prepared to direct the enquiry elsewhere. Michael Kay

    (1-1/1)

    Please register to reply