XalanJ2
  1. XalanJ2
  2. XALANJ-2420

"Instruction unknown" Exception thrown using XSLTC in Turkish locale

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: The Latest Development Code, 2.7.1
    • Fix Version/s: None
    • Component/s: XSLTC
    • Labels:
      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)

        Issue Links

          Activity

            People

            • Assignee:
              Henry Zongaro
              Reporter:
              Henry Zongaro
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Development