You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by an...@apache.org on 2001/08/02 10:49:04 UTC

cvs commit: xml-xerces/java/samples/xni DocumentTracer.java

andyc       01/08/02 01:49:04

  Modified:    java/samples/xni Tag: xerces_j_2 DocumentTracer.java
  Log:
  Fixed bug in calling the parser with an input source that has
  the same systemId and baseSystemId. The parser does a double
  resolve which adds a base directory when it shouldn't. In
  reality, though, this bug should be fixed in the parser
  itself so that this can't happen in the future.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.18  +2 -2      xml-xerces/java/samples/xni/Attic/DocumentTracer.java
  
  Index: DocumentTracer.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/samples/xni/Attic/DocumentTracer.java,v
  retrieving revision 1.1.2.17
  retrieving revision 1.1.2.18
  diff -u -r1.1.2.17 -r1.1.2.18
  --- DocumentTracer.java	2001/07/26 08:03:36	1.1.2.17
  +++ DocumentTracer.java	2001/08/02 08:49:04	1.1.2.18
  @@ -84,7 +84,7 @@
    * @author Andy Clark, IBM
    * @author Arnaud Le Hors, IBM
    *
  - * @version $Id: DocumentTracer.java,v 1.1.2.17 2001/07/26 08:03:36 andyc Exp $
  + * @version $Id: DocumentTracer.java,v 1.1.2.18 2001/08/02 08:49:04 andyc Exp $
    */
   public class DocumentTracer 
       extends XMLDocumentParser
  @@ -1203,7 +1203,7 @@
       
               // parse file
               try {
  -                parser.parse(new XMLInputSource(null, arg, arg));
  +                parser.parse(new XMLInputSource(null, arg, null));
               }
               catch (XMLParseException e) {
                   // ignore
  
  
  

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