xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pauld...@apache.org
Subject cvs commit: xml-xalan/test/java/src/org/apache/qetest/dtm TestDTMIterator.java
Date Fri, 12 Apr 2002 14:31:20 GMT
pauldick    02/04/12 07:31:20

  Modified:    test/java/src/org/apache/qetest/dtm TestDTMIterator.java
  Log:
  Fixed comments.
  
  Revision  Changes    Path
  1.4       +3 -2      xml-xalan/test/java/src/org/apache/qetest/dtm/TestDTMIterator.java
  
  Index: TestDTMIterator.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/java/src/org/apache/qetest/dtm/TestDTMIterator.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestDTMIterator.java	11 Apr 2002 18:33:28 -0000	1.3
  +++ TestDTMIterator.java	12 Apr 2002 14:31:19 -0000	1.4
  @@ -104,7 +104,7 @@
     	System.out.println("\nHELLO THERE AND WELCOME TO THE WACKY WORLD OF ITERATORS \n");
       try
       {
  -		// Pick our input source
  +	    // Pick our input source
   		Source source=null;
   		if(argv.length<1)
   		{
  @@ -288,6 +288,8 @@
   	  //lastNode = iter.getLast();	 // Uncomment for Bugzilla 7885.
         lastNodeName = dtm.getNodeName(lastNode);
   	  
  +	  // The output from Ancestor and Ancestor-or-self is the topic
  +	  // of Bugzilla 7886
   	  // Get iterator for ANCESTOR:: Axis
   	  iter = dtm.getAxisIterator(Axis.ANCESTOR);
   	  iter.setStartNode(lastNode);
  @@ -316,7 +318,6 @@
   	  System.out.println("\n#### ALL from "+"<"+lastNodeName+">, Reverse Axis:" + iter.isReverse());
   
   
   	  // Iterate the axis and print out node info.
  -	  // The output of this loop is what Bugzilla 7886 is all about.
         for (int itNode = iter.next(); DTM.NULL != itNode;
                 itNode = iter.next())
   		  printNode(dtm, iter, itNode, " ");
  
  
  

---------------------------------------------------------------------
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