Hello Robert,
there exists a bug with patch:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19104
Joerg
Jeroen Cranendonk wrote:
(sorry, posted last mail with wrong subject :)
Hi,
I have a question about the usage of schematron languages within
Cocoon/XMLForms.
I have an AddresBean which
(sorry, posted last mail with wrong subject :)
Hi,
I have a question about the usage of schematron languages within
Cocoon/XMLForms.
I have an AddresBean which I use as the XMLForm model. It containts 2
variables:
- street (also getter and setter)
- housenumber (also getter and setter)
I want
icke '; '[EMAIL PROTECTED] '
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
LForm 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
De
lation has an
attribute of ref='' instead of ref='/password'.
cheers,
chris
-Original Message-
From: Ugo Cei
To: [EMAIL PROTECTED]
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
lation has an
attribute of ref='' instead of ref='/password'.
cheers,
chris
-Original Message-
From: Ugo Cei
To: [EMAIL PROTECTED]
Sent: 3/27/03 1:51 AM
Subject: Re: XMLForm Schematron question
Delis, Christopher E. wrote:
> i take it back! it still doesn't w
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.
--
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia
pshot (xml-cocoon-2.1-20030210233231.tar.gz).
TIA,
chris
-Original Message-
From: Joerg Heinicke [mailto:[EMAIL PROTECTED]
Hello Christopher,
I mentioned it already before: I guess the error are "/password" and
"/password2" as the values of the context attribu
cke [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 26, 2003 1:51 PM
> To: [EMAIL PROTECTED]
> Subject: Re: XMLForm Schematron question
>
>
> Hello Christopher,
>
> I mentioned it already before: I guess the error are "/password" and
> "/password2"
Hello Christopher,
I mentioned it already before: I guess the error are "/password" and
"/password2" as the values of the context attributes of the rule
element. I have never been using Schematron in Cocoon, but as I used it
offline a stylesheet was created from this schema
i take it back! it still doesn't work =-(
i keep getting "Passwords do not match!" errors...
> -Original Message-
> From: Delis, Christopher E. [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 26, 2003 11:20 AM
> To: '[EMAIL PROTECTED]'
>
sheesh! turned out to be a stupid error on my part (i should've posted the
whole xml file and you probably would've found it right away). thanks for
helping! here's what works:
http://xml.apache.cocoon/xmlform";
xmlns="http://www.ascc.net/xml/schematron&
Hi Delis,
for an XML like
mypassword
mypassword
I would use the following schematron:
must be > 5
must be < 60
password != password2
I didn't test it, but the above looks logical to me ;-) Everything is pure
XSLT. But what you tried (../password2), should work also (if
7;t seem to work.]
> -Original Message-
> From: Rob Johnston [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 26, 2003 10:35 AM
> To: [EMAIL PROTECTED]
> Subject: Re: XMLForm Schematron question
>
>
> On Wed, 26 Mar 2003, Joerg Heinicke wrote:
>
> > Hello
iour simply processor dependent or specified
> anywhere?) If you change the test to "number() = number()" you are on the
> safe side, because "NaN = NaN" returns always false.
>
> Regards,
>
> Joerg
>
> Rob Johnston wrote:
> >Hello -- I have a quick S
lo -- I have a quick Schematron/XMLForm question.
Let's say I have the following XPath:
/data/selectedwhich can be either "text" or "number"
/data/number a valid number
I want to write a validation pattern that will assert iff /data/selected
is 'number' and /d
Hello -- I have a quick Schematron/XMLForm question.
Let's say I have the following XPath:
/data/selectedwhich can be either "text" or "number"
/data/number a valid number
I want to write a validation pattern that will assert iff /data/selected
is 'numb
are some verifications which can't be done with the
schema, so for them I use the Schematron which is embedded in the W3C
Schema.
Now, as Jeff Turner suggested in http://marc.theaimsgroup.com/?
On Tuesday, Jan 21, 2003, at 20:58 Europe/London, John R. Callahan
wrote:
This seems too simple, but I wanted to see if I could
use Schematron generated XSLT to validate some
XML in a Cocoon pipeline. This might be used for
validating uploaded XML files for example.
You might find the
, for them,
there is a second validation step, in which I use the Schematron which is
embedded in the W3C Schema.
Now, as Jeff Turner suggested
(http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=1043065120
Oskar,
Excellent suggestion. The XPATH of the error would be very useful for
debugging. What applications of Schematron have you done within Cocoon?
So far, I'm using it to validate uploaded documents.
-- jack
>
> Hi Jack,
>
> I have done the same to validate an XML
Hi Jack,
I have done the same to validate an XML document with an schematron. I think
that it would be also useful to get the XPATH path of the errors in the XML
output. The template which does this is done in skeleton1-5 (); so you have to call it from
the assert template:
Markup
This seems too simple, but I wanted to see if I could
use Schematron generated XSLT to validate some
XML in a Cocoon pipeline. This might be used for
validating uploaded XML files for example.
I downloaded the latest Schematron skeleton (1.5),
then generated some XSLT from a set of assertions
Joerg's response is correct, although a technical detail is that Schematron
is based on XPath, not XSTL (which uses XPath itself).
- Original Message -
From: "Joerg Heinicke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 17, 2002 1:27
jtbamcai wrote:
> Hi!
> how can I validate a date like this "-mm-dd" with schematron?
> thanks in advance.
> iker.
Hello,
Schematron is XSLT, so you can use normal expressions.
Example:
But XSLT has no date-specific functionality, it knows nothing about
dates.
Hi!
how can I validate a date like this "-mm-dd" with schematron?
thanks in advance.
iker.
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.o
Thank you Dianna for handling the patch.
- Original Message -
From: "Ivelin Ivanov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 28, 2002 11:25 PM
Subject: Re: internalisation with schematron (XML-Form)
Many thanks !
I will review and appl
tober 28, 2002 7:35 PM
Subject: Re: internalisation with schematron (XML-Form)
Hallo Ivelin,
I already wrote a How To Document for this and uploaded it using
Bugzilla . I hope it will be clear and easy to follow.
and its Bug#14015.
Thanx in advance
Mohamed El-Refaey
Ivelin Ivanov wrote:
bugzilla.
The question about i18n with XMLForm is popping constantly.
Ivelin
- Original Message -
From: "Mohamed El-Refaey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 27, 2002 4:08 PM
Subject: Re: internalisation with schematron (XML-Form)
Hi
tober 27, 2002 4:08 PM
Subject: Re: internalisation with schematron (XML-Form)
Hi Michael ,
I faced the same problem and here is what I did when I read the mailing
list regarding the i18n with Schematron validation error :
1- the XMLForm file is :
Password
Hi Michael ,
I faced the same problem and here is what I did when I read the mailing
list regarding the i18n with Schematron validation error :
1- the XMLForm file is :
Password
2- the Schematron file :
The Password Should be @ least 8 character
Title: internalisation with schematron (XML-Form)
Hi!
I have a problem to translate the error-massages of the schematrons. I hope someone can give me a hint to solve my problem.
I want to translate the Error Message of my pattern in the Schematron file. But I donĀ“t know exactly how. I tried
Glad it worked for you.
- Original Message -
From: "Mohamed El-Refaey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 24, 2002 2:10 PM
Subject: Re: Schematron question
> Hallo Ivelin ,
> Thank u very much The
me as before.
>
>
>
>
>
>- Original Message -
>From: "Mohamed El-Refaey" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Monday, September 23, 2002 6:42 PM
>Subject: Schematron question
>
>
>
>
>>Hi a
least 8 character.
The Password Should be the same as before.
- Original Message -
From: "Mohamed El-Refaey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 23, 2002 6:42 PM
Subject:
Hi all
I have a question related to Schematron validation :
How I can validate a 2 Text box in XMLForm values that they are
identical for example (a password should be entered twice by the user
and it must be identical in both field)
I tried to write the Rule in the schematron validation file
Your assert can be
test="string-length(input) = 0 or (more rules)"
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 24, 2002 2:33 AM
Subject: Schematron Validation 2
> Another question:
>
>I also
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: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 24, 2002 1:5
Another question:
I also have non mandatory fields - but if
the user gives an input I want to validate the input.
So, is there a way in Schematron to say
if(input is not empty)
assert
Can I do something like nested asserts?
Thanx again for any help
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
Schematron's rules are XPath expressions.
XPath 1.0 does not support regex, but the upcoming v2.0 will.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 16, 2002 11:44 AM
Subject: Schematron
> Hello,
>
>is
XMLForm will populate JavaBeans, DOM nodes or mixed.
Schematron is simple to use and powerful in what it does.
I wouldn't put extra burden on it.
My suggestions is to either use plain Java code to populate your fields or
write a specialized transformer.
Ivelin
- Original Me
I'm not a big pro in Schematron. It uses mainly XPath for referencing nodes,
in Cocoon scratchpad it implemented with JXPath, where you could use
extension mechanics to add your own functions to XPath.
I did not do that but if you really want to have regexps in XPath, I think this
i
Hello,
is there a way to use regular expressions with Schematron?
(like with an descriptor xml match-regex)
thanks for any help,
miHam
-
Please check that your question has not already been answered in the
FAQ
o use schema for populating some report object in
the case the validation succeeds. Probably it should be a different
procedure, but does it looks more natural to have it there?
http://www.ascc.net/xml/schematron"; >
Test
No username and passwor
45 matches
Mail list logo