cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guido Casper" <gcas...@s-und-n.de>
Subject Re: more xmlforms + schematron, why ?
Date Thu, 13 Mar 2003 16:24:22 GMT
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" <j.cranendonk@emaxx.nl>
To: <cocoon-dev@xml.apache.org>
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


Mime
View raw message