Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6289164

Regression : embedded stylesheet using fragment identifier throws TransformerConfigurationException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 1.4.0
    • xml

      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

            nbajajsunw Neeraj Bajaj (Inactive)
            saksunw Sreejith Ak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: