Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 83860 invoked by uid 500); 26 Mar 2003 19:50:46 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 83826 invoked from network); 26 Mar 2003 19:50:45 -0000 Received: from mail.gmx.net (213.165.64.20) by daedalus.apache.org with SMTP; 26 Mar 2003 19:50:45 -0000 Received: (qmail 32305 invoked by uid 65534); 26 Mar 2003 19:50:48 -0000 Received: from a183069.studnetz.uni-leipzig.de (EHLO gmx.de) (139.18.183.69) by mail.gmx.net (mp015-rz3) with SMTP; 26 Mar 2003 20:50:48 +0100 Message-ID: <3E82049C.2070203@gmx.de> Date: Wed, 26 Mar 2003 20:50:52 +0100 From: Joerg Heinicke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: de-de, de, en-gb, en-us, en MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: XMLForm Schematron question References: <258B1C4C80B3D511973B00D0B720E2D0054D1DC5@adminmail2.aiss.uic.edu> In-Reply-To: <258B1C4C80B3D511973B00D0B720E2D0054D1DC5@adminmail2.aiss.uic.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello Christopher, I mentioned it already before: I guess the error are "/password" and "/password2" as the values of the context attributes of the rule element. I have never been using Schematron in Cocoon, but as I used it offline a stylesheet was created from this schematron XML description and the rule's contexts were used in the match attribute of . The problem is then, that you need two root elements, to get true out of your test. But that's not possible in XML. So I guessed that you must change "/password" to "password" (the same for "password2"). Regards, Joerg Delis, Christopher E. wrote: > i take it back! it still doesn't work =-( > > i keep getting "Passwords do not match!" errors... > > >>-----Original Message----- >>From: Delis, Christopher E. [mailto:cedelis@uillinois.edu] >>Sent: Wednesday, March 26, 2003 11:20 AM >>To: 'cocoon-users@xml.apache.org' >>Subject: RE: XMLForm Schematron question >> >> >>sheesh! turned out to be a stupid error on my part (i >>should've posted the >>whole xml file and you probably would've found it right >>away). thanks for >>helping! here's what works: >> >> >>> xmlns="http://www.ascc.net/xml/schematron"> >> Schema for the Password Form >> >>

For password information.

>> >>
>> >> >> Password >> should be at least 4 >>characters. >> Password >>should be less >> than 60 characters. >> >test="string(.)=string(../password2)">Passwords do not match! >> >> >> Password >> should be at least 4 >>characters. >> >> >>
--------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org