Bug 573606
| Summary: | com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl attribute parse failure | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Caolan McNamara <caolanm> |
| Component: | java-1.6.0-openjdk | Assignee: | Deepak Bhole <dbhole> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | dbhole, langel, lkundrak, mjw, mmatejov |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-04-08 09:55:40 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of bug 573619 *** |
Description of problem: com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl fails to parse (apparently) valid xslt Version-Release number of selected component (if applicable): java-1.6.0-openjdk-1.6.0.0-34.b17.fc13 How reproducible: 100% Steps to Reproduce: 1. javac demo.java 2. java demo.java demo.xsl Actual results: TransformerFactory is 'com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl' XSL is'/tmp/filter/example.xsl' ERROR: 'file:/tmp/filter/example.xsl: line 4: Cannot parse attribute value template '{translate(@name,'{}','_')}'.' FATAL ERROR: 'Could not compile stylesheet' javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:829) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:618) at demo.main(demo.java:12) Expected results: TransformerFactory is 'com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl' XSL is'/tmp/filter/example.xsl' Additional info: Overridding the built-in xslt implementation, e.g. export CLASSPATH=/usr/share/java/xalan-j2.jar:. and all is well java demo /tmp/filter/example.xsl TransformerFactory is 'org.apache.xalan.processor.TransformerFactoryImpl' XSL is'/tmp/filter/example.xsl' The problem is with the appearance of braces {} inside the translate string.