Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-2420

"Instruction unknown" Exception thrown using XSLTC in Turkish locale

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • The Latest Development Code, 2.7.1
    • None
    • XSLTC
    • None

    Description

      Using TransformerFactory.newTransformer(Source) or TransformerFactory.newTemplates(Source) with XSLTC in a Turkish locale results in an exception with this traceback:

      java.lang.RuntimeException: Instruction unknown: load?nstruction
      at org.apache.bcel.util.InstructionFinder.mapName(InstructionFinder.java:138)
      at org.apache.bcel.util.InstructionFinder.compilePattern(InstructionFinder.java:170)
      at org.apache.bcel.util.InstructionFinder.search(InstructionFinder.java:218)
      at org.apache.bcel.util.InstructionFinder.search(InstructionFinder.java:264)
      at org.apache.xalan.xsltc.compiler.Mode.peepHoleOptimization(Mode.java:1413)
      at org.apache.xalan.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:1040)
      at org.apache.xalan.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:612)
      at org.apache.xalan.xsltc.compiler.Stylesheet.translate(Stylesheet.java:727)
      at org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:371)
      at org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:446)
      at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:799)
      at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:618)

      Attachments

        Issue Links

          Activity

            People

              zongaro@ca.ibm.com Henry Zongaro
              zongaro@ca.ibm.com Henry Zongaro
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: