You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by mi...@sonynetservices.com on 2002/07/24 08:51:11 UTC

Schematron validation

Hello,

   please advise if the I can do the following with Schematron:

   I want to use Schematron validation with my XML-Forms.
   eg.: The user has to input a Login Name.
   For this field I have several error messages:
      LoginName must not be null,
                Login Name has to have between 5 and 20 characters
                and so on..

Now my problem is to display the error messages separated,
as when I check if the String is empty all other assertions are true as
well and I will see all error messages.

Is there a way to solve this problem ?


thanks in advance for any help,

miHam


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Schematron validation

Posted by Ivelin Ivanov <iv...@apache.org>.
You should be able to do what you describe.
Sounds like a bug in the SchamatronValidator implementation,
not in Schematron itself.
Willing to hunt it down?


Ivelin

----- Original Message ----- 
From: <mi...@sonynetservices.com>
To: <co...@xml.apache.org>
Sent: Wednesday, July 24, 2002 1:51 AM
Subject: Schematron validation


> Hello,
> 
>    please advise if the I can do the following with Schematron:
> 
>    I want to use Schematron validation with my XML-Forms.
>    eg.: The user has to input a Login Name.
>    For this field I have several error messages:
>       LoginName must not be null,
>                 Login Name has to have between 5 and 20 characters
>                 and so on..
> 
> Now my problem is to display the error messages separated,
> as when I check if the String is empty all other assertions are true as
> well and I will see all error messages.
> 
> Is there a way to solve this problem ?
> 
> 
> thanks in advance for any help,
> 
> miHam
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
> 


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>