Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 41105 invoked by uid 500); 20 Nov 2002 13:00:26 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 40984 invoked from network); 20 Nov 2002 13:00:24 -0000 X-Lotus-FromDomain: EUROPE From: volker.schmitt@basf-it-services.com To: cocoon-dev@xml.apache.org Message-ID: Date: Wed, 20 Nov 2002 13:59:37 +0100 Subject: Re: cvs commit: xml-cocoon2/lib/optional commons-jxpath.jar Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Carsten, I think there is a additional change in src\java\org\apache\cocoon\components\language\markup\xsp\java\jpath.xsl because the Class JXPath isn't available anymore. Sorry I forgot this in my prev. mail. Volker |--------+-----------------------> | | cziegeler@apa| | | che.org | | | | | | 20.11.2002 | | | 13:35 | | | Bitte | | | antworten an | | | cocoon-dev | | | | |--------+-----------------------> >---------------------------------------------------------------------------| | | | An: xml-cocoon2-cvs@apache.org | | Kopie: (Blindkopie: Volker Schmitt/BASF-AG/BASF) | | Thema: cvs commit: xml-cocoon2/lib/optional commons-jxpath.jar | >---------------------------------------------------------------------------| cziegeler 2002/11/20 04:35:19 Modified: src/scratchpad/src/org/apache/cocoon/validation/schematron Tag: cocoon_2_0_3_branch SchematronValidator.java lib Tag: cocoon_2_0_3_branch jars.xml src/scratchpad/src/org/apache/cocoon/xmlform Tag: cocoon_2_0_3_branch FormBeanBinder.java Removed: src/scratchpad/lib Tag: cocoon_2_0_3_branch commons-JXPath-20020320.jar lib/optional Tag: cocoon_2_0_3_branch commons-jxpath.jar Log: Updating to jxpath 1.0 Revision Changes Path No revision No revision 1.1.2.3 +4 -5 xml-cocoon2/src/scratchpad/src/org/apache/cocoon/validation/schematron/Attic/SchematronValidator.java Index: SchematronValidator.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/scratchpad/src/org/apache/cocoon/validation/schematron/Attic/SchematronValidator.java,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -r1.1.2.2 -r1.1.2.3 --- SchematronValidator.java 5 Jun 2002 17:19:30 -0000 1.1.2.2 +++ SchematronValidator.java 20 Nov 2002 12:35:18 -0000 1.1.2.3 @@ -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() ) { No revision No revision 1.11.2.14 +1 -1 xml-cocoon2/lib/jars.xml Index: jars.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/lib/jars.xml,v retrieving revision 1.11.2.13 retrieving revision 1.11.2.14 diff -u -r1.11.2.13 -r1.11.2.14 --- jars.xml 17 Nov 2002 19:04:28 -0000 1.11.2.13 +++ jars.xml 20 Nov 2002 12:35:18 -0000 1.11.2.14 @@ -268,7 +268,7 @@ Jakarta Commons JXPath XPath interpreter. Work with JavaBeans and DOM nodes JXPath logicsheet and XMLForm - optional/commons-jxpath.jar + optional/commons-jxpath-1.0.jar http://jakarta.apache.org/commons/jxpath/ No revision No revision 1.1.2.2 +5 -5 xml-cocoon2/src/scratchpad/src/org/apache/cocoon/xmlform/Attic/FormBeanBinder.java Index: FormBeanBinder.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/scratchpad/src/org/apache/cocoon/xmlform/Attic/FormBeanBinder.java,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- FormBeanBinder.java 24 May 2002 09:06:55 -0000 1.1.2.1 +++ FormBeanBinder.java 20 Nov 2002 12:35:18 -0000 1.1.2.2 @@ -102,7 +102,7 @@ String path = (String) enum.nextElement (); Object[] values = request.getParameterValues ( path ); - Pointer pointer = context.locateValue( path ); + Pointer pointer = context.getPointer( path ); Object property = pointer.getValue(); // if the property is a collection, set value as array if ( property instanceof Collection ) ---------------------------------------------------------------------- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org