xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From santiag...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/dom SAXImpl.java
Date Mon, 20 Oct 2003 20:41:00 GMT
santiagopg    2003/10/20 13:41:00

  Modified:    java/src/org/apache/xalan/xsltc/dom SAXImpl.java
  Log:
  Check for null before setting DTM base URI.
  
  Revision  Changes    Path
  1.13      +4 -2      xml-xalan/java/src/org/apache/xalan/xsltc/dom/SAXImpl.java
  
  Index: SAXImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/dom/SAXImpl.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- SAXImpl.java	17 Oct 2003 16:14:19 -0000	1.12
  +++ SAXImpl.java	20 Oct 2003 20:41:00 -0000	1.13
  @@ -190,7 +190,9 @@
        * Define the origin of the document from which the tree was built
        */
       public void setDocumentURI(String uri) {
  -        setDocumentBaseURI(SystemIDResolver.getAbsoluteURI(uri));
  +        if (uri != null) {
  +            setDocumentBaseURI(SystemIDResolver.getAbsoluteURI(uri));
  +        }
       }
   
       /**
  
  
  

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


Mime
View raw message