Skip to content
Permalink
Browse files

Attempt to workaround issue #94, make sure output-base-uri is handled…

… correctly
  • Loading branch information
ndw committed Mar 26, 2013
1 parent 2e4364a commit 57ebb905b452c4fc0b621f11c88ec76c7a02ecec
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/com/xmlcalabash/library/XSLT.java
@@ -223,6 +223,12 @@ public void run() throws SaxonApiException {

if (outputBaseURI != null) {
transformer.setBaseOutputURI(outputBaseURI);
// The following hack works around https://saxonica.plan.io/issues/1724
try {
result.setBaseURI(new URI(outputBaseURI));
} catch (URISyntaxException use) {
// whatever
}
}

transformer.setSchemaValidationMode(ValidationMode.DEFAULT);

0 comments on commit 57ebb90

Please sign in to comment.
You can’t perform that action at this time.