jycli       2004/11/02 07:05:25

  Modified:    java/src/org/apache/xalan/extensions
                        ExtensionHandlerGeneral.java
  Log:
  The latest Rhino1_5R5 checks for the script language line/column no.>=0
  Fixed for bug XALANJ-1887
  
  Revision  Changes    Path
  1.25      +4 -4      
xml-xalan/java/src/org/apache/xalan/extensions/ExtensionHandlerGeneral.java
  
  Index: ExtensionHandlerGeneral.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/extensions/ExtensionHandlerGeneral.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- ExtensionHandlerGeneral.java      13 Oct 2004 20:33:42 -0000      1.24
  +++ ExtensionHandlerGeneral.java      2 Nov 2004 15:05:25 -0000       1.25
  @@ -86,8 +86,8 @@
     /** Property name to load the BSFManager class */
     private static final String propName = 
"org.apache.xalan.extensions.bsf.BSFManager";
     
  -  /** Negative one integer */
  -  private static final Integer NEG1INT = new Integer(-1);
  +  /** Integer Zero */
  +  private static final Integer ZEROINT = new Integer(0);
   
     static{
             BSF_MANAGER =  ObjectFactory.lookUpFactoryClassName(propName, 
null, null);
  @@ -230,7 +230,7 @@
   
         // "Compile" the program
         engineExec.invoke(m_engine,
  -        new Object[]{ "XalanScript", NEG1INT, NEG1INT, m_scriptSrc });
  +        new Object[]{ "XalanScript", ZEROINT, ZEROINT, m_scriptSrc });
       }
       catch (Exception e)
       {
  
  
  

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

Reply via email to