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 document with an schematron.
the
validation must be after procesing the document.
Oskar
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 22, 2003 1:24 PM
Subject: Re: Schematron transform in a Cocoon pipeline
Oskar,
Excellent suggestion. The XPATH of the error would be very
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
Jack,
I also use it to validate uploaded documents. First, when cocoon
receives the document, I applied to it the first validation step with
the parser (inside the generator): the parser will check that the
document is well formed and valid according to a certain W3C XML
Schema. But there
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 (axsl:template
match=*|@* mode=schematron-get-full-path); so you have to