Re: Schematron transform in a Cocoon pipeline

2003-01-22 Thread jcallahan
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.

Re: Schematron transform in a Cocoon pipeline

2003-01-22 Thread Oskar Casquero
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

Re: Schematron transform in a Cocoon pipeline

2003-01-22 Thread Jeremy Quinn
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

Re: Schematron transform in a Cocoon pipeline

2003-01-22 Thread jtacaoio
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

Re: Schematron transform in a Cocoon pipeline

2003-01-21 Thread Oskar Casquero
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