Subject:URIResolver error on command line Author:Naresh Akhade Date:01 Apr 2010 12:53 PM
I am getting below error when i run xslt using command line options. I am using below command
java -jar d:\Naresh\saxon9he.jar -o cmd_out.xml C2JBMB09024.xml epub.xsl
Error at xsl:result-document on line 66 of epuboebgenerator.xsl:
Resolved URL is malformed: unknown protocol: d
at xsl:call-template name="create-single-html" (file:/D:/Naresh/epub-xslt/epub
at xsl:call-template name="generate-html" (file:/D:/Naresh/epub-xslt/kglml2epu
at xsl:call-template name="generate-oeb" (file:/D:/Naresh/epub-xslt/kglml2epub
Transformation failed: Run-time errors were reported
when i run same xslt in stylus it works fine and gives the proper output. I have read some threads but did not help me. I also tried with
-r URIReslover option but that didn't work..
I am using saxon9he freeware parser.
please guide me how to run the same xslt through command line also.