cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Delis, Christopher E." <cede...@uillinois.edu>
Subject RE: XMLForm Schematron question
Date Thu, 27 Mar 2003 08:44:30 GMT
 
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:

<rule context="/">
   <assert test="string(password1) = string(password2)">
     Passwords do not match.
   </assert>
</rule>


-- 
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: u.cei@cbim.it


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


Mime
View raw message