If you absolutely don’t have time to look into this, I will give it a try (or ask who has recently quite gotten into Java programming…).Īlonex Electronic Equipment Repair Reference List Alonex - Where The Art Of Electronics is Alive! So I think that of the (at least) 3 use cases for a catalog, namely 1) DOCTYPE resolution via rewriteSystem, 2) resolving URIs in your XQuery implementation, and 3) passing the catalog resolver to a JAXP XSLT processor, you only implemented 1) so far. Then hopefully it will also use the catalog’s rewriteURI instruction for doc() calls within the XSLT transformation, for xsl:include, and for xsl:import instructions.
This may probably be alleviated by passing the catalog resolver object (if available) to tURIResolver(), as described in this 2004 article. If you comment out the first doc(''), xslt:transform() will throw an IO error for that is imported by _Issue1405/importing.xsl. The rewriteURI instruction of the catalog should be taken into account here, I think. The difference is probably that for DOCTYPE resolution the rewriteSystem instruction in _Issue1405/xmlcatalog/catalog.xml will be used while for your doc() implementation, no catalog will be used. It won’t resolve doc('') which is the same URI as in the DOCTYPE declaration of test.xml. Then open _Issue1405/test.xq and execute it. You can verify that the catalog will be used for System Identifier resolution when you create a DB from _Issue1405/test.xml.
AGFA ACCUSET 1000 FILM JAM FULL
After unzipping attached file, set the CATFILE option to the full path to _Issue1405/xmlcatalog/catalog.xml.