Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 82006 invoked by uid 500); 27 Mar 2003 10:56:30 -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 81991 invoked from network); 27 Mar 2003 10:56:30 -0000 Received: from relay1.aits.uillinois.edu (128.174.25.222) by daedalus.apache.org with SMTP; 27 Mar 2003 10:56:30 -0000 Received: from adminmail2.aiss.uic.edu (adminmail2.aiss.uic.edu [131.193.163.70]) by relay1.aits.uillinois.edu (8.11.6/8.11.6) with ESMTP id h2RAucI22020; Thu, 27 Mar 2003 04:56:38 -0600 Received: by adminmail2.aiss.uic.edu with Internet Mail Service (5.5.2653.19) id ; Thu, 27 Mar 2003 04:56:39 -0600 Message-ID: <258B1C4C80B3D511973B00D0B720E2D0054D1DCC@adminmail2.aiss.uic.edu> From: "Delis, Christopher E." To: "Delis, Christopher E." , "''Joerg Heinicke ' '" , "''cocoon-users@xml.apache.org ' '" Subject: RE: XMLForm Schematron question Date: Thu, 27 Mar 2003 04:56:38 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N i jumped the gun again. doesn't work either. it is always invalid because password2 is not a child. i'm happy with simply validating from context="/" and be done with it! ;-) again, thanks... -----Original Message----- From: Delis, Christopher E. To: 'Joerg Heinicke '; 'cocoon-users@xml.apache.org ' Sent: 3/27/03 4:50 AM Subject: RE: XMLForm Schematron question thanks for inspiring me to continue... following-sibling and preceding-sibling didn't work but the following did: Passwords do not match! i thought they were siblings, but... -----Original Message----- From: Joerg Heinicke To: cocoon-users@xml.apache.org Sent: 3/27/03 5:53 AM Subject: Re: XMLForm Schematron question Siblings? Try the following: > > > Passwords do not match. > > If you know password2 is always after password, you can remove preceding-sibling::password2. It's only a further suggestion from the XML point of view ;-) Joerg Delis, Christopher E. wrote: > > thanks, ugo. > > i finally ended up doing the same exact thing as you. i was just hoping it > would be possible to refer to other (sibling or ancestor) objects in my > validation assertion. not a huge problem. i simply edited my > "xmlform-to-html.xsl" to reflect the fact that the error violation has an > attribute of ref='' instead of ref='/password'. > > cheers, > chris > > -----Original Message----- > From: Ugo Cei > To: cocoon-users@xml.apache.org > Sent: 3/27/03 1:51 AM > Subject: Re: XMLForm Schematron question > > Delis, Christopher E. wrote: > >>i take it back! it still doesn't work =-( >> >>i keep getting "Passwords do not match!" errors... > > > I'm currently using the following: > > > > Passwords do not match. > > > > -- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 joerg.heinicke@virbus.de www.virbus.de --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org