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

REGRESSION: XSLT translations are not working in mustang

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.0
    • Fix Version/s: 6
    • Component/s: xml

      Description

      J2SE Version (please include all output from java -version flag):
        1.6b41

      Does this problem occur on J2SE 1.4.x or 5.0.x ?
         No (pick one)

      Operating System Configuration Information (be specific):
        Windows XP and kubuntu Linux (debian)

      Hardware Configuration Information (be specific):
        Dell P4 3,1GHZ 2GB

      Bug Description:
        XSLT translations that used to work in 1.4 and 1.5 no longer work in 1.6
        Also when saving out XML documents, you will get a

          Warning: Could not get charToByteConverterClass!

         Which appears to com from com.sun.org.apache.xml.serializer.Encodings.findCharToByteConverterMethod()

      Receive the following traceback:
      Warning: Could not get charToByteConverterClass!

      ERROR: 'null'
      FATAL ERROR: 'Could not compile stylesheet'
      java.lang.RuntimeException: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
      at util.MappedListEncoder.close(MappedListEncoder.java:80)
      at util.MappedListUtils.toXML(MappedListUtils.java:44)
      at util.MappedListUtils.toXML(MappedListUtils.java:29)
      at util.DefaultMappedList.main(DefaultMappedList.java:65)
      Caused by: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
      at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(Unknown Source)
      at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(Unknown Source)
      at util.MappedListEncoder.getTransformer(MappedListEncoder.java:187)
      at util.MappedListEncoder.close(MappedListEncoder.java:64)
      ... 3 more

      Steps to Reproduce (be specific):
      In attached file, run util.DefaultMappedList.main()
      ###@###.### 2005-06-21 23:43:51 GMT

        Attachments

          Activity

            People

            Assignee:
            spericas Santiago Pericasgeertsen
            Reporter:
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: