You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by ig...@apache.org on 2004/02/06 23:47:13 UTC

cvs commit: xml-xalan/java/src/org/apache/xml/utils TreeWalker.java

igorh       2004/02/06 14:47:13

  Modified:    java/src/org/apache/xml/utils TreeWalker.java
  Log:
  Fix for Bugzilla Bug 25416.
  
  Revision  Changes    Path
  1.21      +6 -11     xml-xalan/java/src/org/apache/xml/utils/TreeWalker.java
  
  Index: TreeWalker.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xml/utils/TreeWalker.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- TreeWalker.java	17 Oct 2003 20:59:26 -0000	1.20
  +++ TreeWalker.java	6 Feb 2004 22:47:13 -0000	1.21
  @@ -126,12 +126,10 @@
           m_locator.setSystemId(systemId);
       else {
           try {
  -          // Adding dummy.xsl to the baseURI so that relative 
  -          // URI's will be resolved correctly.
  +          // Bug see Bugzilla  26741
             m_locator.setSystemId(System.getProperty("user.dir") + File.separator + "dummy.xsl");
            }
  -         catch (SecurityException se) {// user.dir not accessible from applet
  -             m_locator.setSystemId("");
  +         catch (SecurityException se) {// user.dir not accessible from applet             
            }
       }
       m_dh = dh;
  @@ -147,12 +145,10 @@
       this.m_contentHandler = contentHandler;
       m_contentHandler.setDocumentLocator(m_locator);
       try {
  -      // Adding dummy.xsl to the baseURI so that relative 
  -      // URI's will be resolved correctly.
  +       // Bug see Bugzilla  26741
         m_locator.setSystemId(System.getProperty("user.dir") + File.separator + "dummy.xsl");
       } 
  -    catch (SecurityException se){// user.dir not accessible from applet
  -      m_locator.setSystemId("");
  +    catch (SecurityException se){// user.dir not accessible from applet      
       }
       m_dh = dh;
     }
  @@ -168,12 +164,11 @@
                   if (m_contentHandler != null)
                           m_contentHandler.setDocumentLocator(m_locator);
                   try {
  -                  // Adding dummy.xsl to the baseURI so that relative 
  -                  // URI's will be resolved correctly.
  +                   // Bug see Bugzilla  26741
                     m_locator.setSystemId(System.getProperty("user.dir") + File.separator + "dummy.xsl");
                   } 
                   catch (SecurityException se){// user.dir not accessible from applet
  -                  m_locator.setSystemId("");
  +                  
       }
       m_dh = new DOM2Helper();
     }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org