Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-2401

compiled translets cannot resolve xsl:import/include with custom URIresolver

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.7.1
    • None
    • XSLTC
    • None
    • Ubuntu, Sun JDK1.5

    Description

      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)

      Attachments

        1. xsltc-test.zip
          4.06 MB
          Robert Koberg

        Activity

          People

            Unassigned Unassigned
            rob@koberg.com Robert Koberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: