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...@locus.apache.org on 2000/11/29 06:26:13 UTC

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

andyc       00/11/28 21:26:13

  Modified:    java/samples/sax Tag: xerces_j_2 Makefile
               java/samples/xni Tag: xerces_j_2 DocumentTracer.java
  Added:       java/samples/sax Tag: xerces_j_2 DocumentTracer.java
               java/samples/xni Tag: xerces_j_2 Makefile
  Log:
  1) Added a SAX version of the xni.DocumentTracer. This program is
     a lot more useful than using just sax.SAXCount and sax.SAXWriter.
  2) Modified SAX samples Makefile to add new samples.
  3) Added missing Makefile for XNI samples.
  4) Turned off printing of XML file.
  
  *) The new samples need to be updated to share some of the same
     command line options as the other samples. For example, so
     that you can specify a different SAX parser or a different
     XNI parser for document traces.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.5.4.3   +2 -1      xml-xerces/java/samples/sax/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/samples/sax/Makefile,v
  retrieving revision 1.5.4.2
  retrieving revision 1.5.4.3
  diff -u -r1.5.4.2 -r1.5.4.3
  --- Makefile	2000/11/22 01:35:22	1.5.4.2
  +++ Makefile	2000/11/29 05:26:10	1.5.4.3
  @@ -1,8 +1,9 @@
   # Makefile for directory ./sax
   
   TARGETS=\
  -	DTDReader.class\
   	DelayedInput.class\
  +	DocumentTracer.class\
  +	DTDReader.class\
   	SAXCount.class\
   	SAX2Count.class\
   	SAXWriter.class\
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +529 -0    xml-xerces/java/samples/sax/Attic/DocumentTracer.java
  
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.7   +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.6
  retrieving revision 1.1.2.7
  diff -u -r1.1.2.6 -r1.1.2.7
  --- DocumentTracer.java	2000/10/27 22:14:41	1.1.2.6
  +++ DocumentTracer.java	2000/11/29 05:26:12	1.1.2.7
  @@ -79,7 +79,7 @@
    * @author Andy Clark, IBM
    * @author Arnaud Le Hors, IBM
    *
  - * @version $Id: DocumentTracer.java,v 1.1.2.6 2000/10/27 22:14:41 andyc Exp $
  + * @version $Id: DocumentTracer.java,v 1.1.2.7 2000/11/29 05:26:12 andyc Exp $
    */
   public class DocumentTracer 
       extends XMLDocumentParser
  @@ -677,7 +677,7 @@
           for (int i = 0; i < argv.length; i++) {
               String arg = argv[i];
               System.err.println("# argv["+i+"]: "+arg);
  -            print(arg);
  +            //print(arg);
               try {
                   parser.parse(arg);
               }
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +9 -0      xml-xerces/java/samples/xni/Attic/Makefile