tmiller     02/03/12 10:48:07

  Modified:    java/src/org/apache/xalan/xsltc/compiler
                        ProcessingInstruction.java
  Log:
  bug 5141, fix by Santiago Pericas-Geersen
  
  Revision  Changes    Path
  1.6       +4 -4      
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/ProcessingInstruction.java
  
  Index: ProcessingInstruction.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/ProcessingInstruction.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ProcessingInstruction.java        1 Feb 2002 20:07:08 -0000       1.5
  +++ ProcessingInstruction.java        12 Mar 2002 18:48:07 -0000      1.6
  @@ -1,5 +1,5 @@
   /*
  - * @(#)$Id: ProcessingInstruction.java,v 1.5 2002/02/01 20:07:08 tmiller Exp 
$
  + * @(#)$Id: ProcessingInstruction.java,v 1.6 2002/03/12 18:48:07 tmiller Exp 
$
    *
    * The Apache Software License, Version 1.1
    *
  @@ -109,13 +109,13 @@
   
        // get String out of the handler
        il.append(new INVOKEVIRTUAL(cpg.addMethodref(STRING_VALUE_HANDLER,
  -                                                  "getValue",
  -                                                  "()"+STRING_SIG)));
  +                                                  "getValueOfPI",
  +                                                  "()" + STRING_SIG)));
        // call "processingInstruction"
        final int processingInstruction =
            cpg.addInterfaceMethodref(TRANSLET_OUTPUT_INTERFACE,
                                      "processingInstruction", 
  -                                   "("+STRING_SIG+STRING_SIG+")V");
  +                                   "(" + STRING_SIG + STRING_SIG + ")V");
        il.append(new INVOKEINTERFACE(processingInstruction, 3));
        // Restore old handler base from stack
        il.append(methodGen.storeHandler());
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to