[ 
https://issues.apache.org/jira/browse/XALANJ-2401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528427
 ] 

Robert Koberg commented on XALANJ-2401:
---------------------------------------

I zipped that up before I set it up compiling without arguments. Replace line 
62 that takes args[0]  with:


                File docroot = new File("docroot/");

Again this runs correctly when simply run. But it does not precompile the 
translet.

> compiled translets cannot resolve xsl:import/include with custom URIresolver
> ----------------------------------------------------------------------------
>
>                 Key: XALANJ-2401
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2401
>             Project: XalanJ2
>          Issue Type: Bug
>          Components: XSLTC
>    Affects Versions: 2.7.1
>         Environment: Ubuntu, Sun JDK1.5
>            Reporter: Robert Koberg
>            Priority: Minor
>         Attachments: xsltc-test.zip
>
>
> Attached is a test case. It works when run using the main method, but if your 
> try to precompile the translet you get an error:
> $ java -cp 
> ../lib/xalan.jar:../lib/xercesImpl.jar:../lib/xml-apis.jar:../lib/serializer.jar
>  org.apache.xalan.xsltc.cmdline.Compile ../docroot/main.xsl 
> Compiler errors:
>   /home/rkoberg/workspace/xsltc-test/docroot/import.xsl (No such file or 
> directory)
> $ java -cp 
> ../lib/xalan.jar:../lib/xercesImpl.jar:../lib/xml-apis.jar:../lib/serializer.jar
>  org.apache.xalan.xsltc.cmdline.Compile ../docroot/main.xsl 
> Compiler errors:
>   /home/rkoberg/workspace/xsltc-test/docroot/import.xsl (No such file or 
> directory)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to