tmiller     02/05/08 06:28:49

  Modified:    java/src/org/apache/xalan/xsltc/compiler Stylesheet.java
  Log:
  fixes a set of trax.dom conf tests
  
  Revision  Changes    Path
  1.41      +3 -2      
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Stylesheet.java
  
  Index: Stylesheet.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Stylesheet.java,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- Stylesheet.java   3 May 2002 14:20:25 -0000       1.40
  +++ Stylesheet.java   8 May 2002 13:28:49 -0000       1.41
  @@ -1,5 +1,5 @@
   /*
  - * @(#)$Id: Stylesheet.java,v 1.40 2002/05/03 14:20:25 santiagopg Exp $
  + * @(#)$Id: Stylesheet.java,v 1.41 2002/05/08 13:28:49 tmiller Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -208,8 +208,9 @@
   
       public boolean checkForLoop(String systemId) {
        // Return true if this stylesheet includes/imports itself
  -     if (_systemId.equals(systemId))
  +     if (_systemId != null && _systemId.equals(systemId)) {
            return true;
  +     }
        // Then check with any stylesheets that included/imported this one
        if (_parentStylesheet != null) 
            return _parentStylesheet.checkForLoop(systemId);
  
  
  

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

Reply via email to