cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Oliver <>
Subject Re: more xmlforms + schematron, why ?
Date Fri, 14 Mar 2003 21:14:43 GMT
It may not help you at the moment because its still under development, 
but with the current XMLForm integration with the Cocoon flow layer, you 
can also do validation in JavaScript, meaning you have regular 
expressions, String operations, etc, the full power of JavaScript and 
Java, if you need it.

Thanks to somebody (not sure who), the XMLForm samples now seem to be 
working, so you can now play with the XMLForm FeedBack Wizard driven by 
the flow layer:




Guido Casper wrote:
> I agree, that the lack of support for regular expressions is the biggest
> obstacle to schematron use.
> I wonder if anybody is already working on a second validator for XMLForm
> with support for regular expressions.
> Guido
> ----- Original Message -----
> From: "Jeroen Cranendonk" <>
> To: <>
> Sent: Thursday, March 13, 2003 4:50 PM
> Subject: more xmlforms + schematron, why ?
>>Looking at xmlforms and schematron more closely, I'm starting to
>>wonder why this combination was chosen anyways? from the examples
>>it seems the purpose of schematrons is to validate input fields, but
> checking
>>something simple as if a field is only alpha characters seems to be near
>>impossible or atleast really hard with schematron (or am I missing
> something
>>here ? )
>>Isn't schematron intended for checking document structure, not validity of
>>single fields/elements ?
>>Could someone eleborate on this ? please ? :)
>>and if anyone does have a simple idea of how to do a simple check with
>>schematron for alpha or non alpha strings ( 'test' is good, 'test1' or
>>'test#' is bad ) I'd be very gratefull for that too :)
>>Many thanks in advance,
>>Jeroen Cranendonk

View raw message