-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
b49
-
generic
-
generic
Regression : embedded stylesheet using fragment identifier throws TransformerConfigurationException
ERROR: ': Could not find stylesheet target '#style1'.'
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:824)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
reproducible with jaxp1.4 b05 jars
testcase attached - test4.java, embed01.xml and embed01.gold.out(expected output)
javac test4.java
java -Djava.endorsed.dirs=${jaxp14-b05-jars} test4
same testcase can be used for - embed07.xml and embed07.gold.out(expected output)
###@###.### 2005-06-22 05:01:25 GMT
ERROR: ': Could not find stylesheet target '#style1'.'
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:824)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
reproducible with jaxp1.4 b05 jars
testcase attached - test4.java, embed01.xml and embed01.gold.out(expected output)
javac test4.java
java -Djava.endorsed.dirs=${jaxp14-b05-jars} test4
same testcase can be used for - embed07.xml and embed07.gold.out(expected output)
###@###.### 2005-06-22 05:01:25 GMT