incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devin Han (Created) (JIRA)" <>
Subject [jira] [Created] (ODFTOOLKIT-298) XLST-Runner and Validator aren't compatible with Java 5
Date Thu, 15 Dec 2011 16:54:30 GMT
XLST-Runner and Validator aren't compatible with Java 5

                 Key: ODFTOOLKIT-298
             Project: ODF Toolkit
          Issue Type: Bug
          Components: validator, xslt-runner
            Reporter: Devin Han
            Assignee: Devin Han

In XSLT-Runner
1. ODFURIResolver.resolve() called String.isEmpty(), which only exists in Java 6.  Trivial
fix is to test for length() ==0.
2. ODFXSLTRunnner.runXSLT() calls a 2-parameter newInstance() method that exists only in Java

In Validator
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project odfvalidator: Compilation failure
[ERROR] Failure executing javac, but could not parse the error:
[ERROR] javac: invalid flag: -s

caused by:

it was hard-coded to 1.6 before in pom.xml.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message