cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/lib jars.xml
Date Wed, 20 Nov 2002 12:18:32 GMT
cziegeler    2002/11/20 04:18:32

  Modified:    src/java/org/apache/cocoon/components/validation/schematron
                        SchematronValidator.java
               lib      jars.xml
  Added:       lib/optional commons-jxpath-1.0.jar
  Removed:     lib/optional commons-jxpath.jar
  Log:
  Updating to jxpath 1.0
  
  Revision  Changes    Path
  1.1                  xml-cocoon2/lib/optional/commons-jxpath-1.0.jar
  
  	<<Binary file>>
  
  
  1.4       +4 -5      xml-cocoon2/src/java/org/apache/cocoon/components/validation/schematron/SchematronValidator.java
  
  Index: SchematronValidator.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/validation/schematron/SchematronValidator.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SchematronValidator.java	25 Jun 2002 13:35:07 -0000	1.3
  +++ SchematronValidator.java	20 Nov 2002 12:18:32 -0000	1.4
  @@ -337,10 +337,9 @@
     */
     protected List evalRule( JXPathContext jxpContext, Rule rule )
     {
  -    List elements = jxpContext.locate( rule.getContext() );
       List failedRules = new ArrayList();
       
  -    Iterator pointerIter = elements.iterator ();
  +    Iterator pointerIter = jxpContext.iteratePointers( rule.getContext() );
       while ( pointerIter.hasNext() )
       {
   
  
  
  
  1.49      +1 -1      xml-cocoon2/lib/jars.xml
  
  Index: jars.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/lib/jars.xml,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- jars.xml	19 Nov 2002 07:13:23 -0000	1.48
  +++ jars.xml	20 Nov 2002 12:18:32 -0000	1.49
  @@ -450,7 +450,7 @@
   	<title>Jakarta Commons JXPath</title>
   	<description>XPath interpreter. Work with JavaBeans and DOM nodes</description>
   	<used-by>JXPath logicsheet and XMLForm</used-by>
  -	<lib>optional/commons-jxpath.jar</lib>
  +	<lib>optional/commons-jxpath-1.0.jar</lib>
   	<homepage>http://jakarta.apache.org/commons/jxpath/</homepage>
    </file>
    <file>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message