- From: M. A. Arefin <arefin.m.a@gmail.com>
- Date: Sun, 8 Apr 2018 22:25:59 -0400
- To: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@le-tex.de>
- Cc: "xproc-dev@w3.org" <xproc-dev@w3.org>
- Message-ID: <CAOsNLrPoj0i1A3gx1VPinA+joJgtONy=Fe9=N=Go_89AWSdBiA@mail.gmail.com>
Gerrit, Thanks very much for your help! I will try your XPLs. On Sunday, April 8, 2018, Imsieke, Gerrit, le-tex <gerrit.imsieke@le-tex.de> wrote: > Hi, > > I combined an existing XSD validation pipeline that creates a report > (instead of just exiting with an error) with another existing SVRL→text > rendering XSLT. The result is here: > > https://github.com/transpect/calabash-frontend/tree/master/xpl > > These pipelines should run on any XProc 1.0 processor, although I have > tried it only with the XML Calabash distribution that is available by > following the cloning instructions on https://github.com/transpect/c > alabash-frontend/blob/master/README.md > > Gerrit > > > On 07/04/2018 18:51, M. A. Arefin wrote: > >> Hi Gerrit, >> >> Thanks for your response! In fact, it will be great if my application can >> report the reason (in text format) of a validation failure. For that, the >> pipeline steps must write the reports to a known file (passed to the xpl as >> an option or an output port). As a new user of XProc, capturing errors >> seems hard to me! As of now, my code is solely relying on catching >> exceptions from the application. >> >> Thanks. >> >> On Saturday, April 7, 2018, Imsieke, Gerrit, le-tex < >> gerrit.imsieke@le-tex.de <mailto:gerrit.imsieke@le-tex.de>> wrote: >> >> Hi, >> >> This is quite a simple task if you don’t need some sort of report, >> i.e., if it’s ok for the pipeline to exit with an error if the >> document is invalid wrt the XSD or the Schematron. Do you need some >> validation report, as text, XML, or HTML? >> >> Gerrit >> >> >> On 06/04/2018 19:12, M. A. Arefin wrote: >> >> Hi XProc users, >> >> I need some help in creating an XPL to accomplish the following >> steps on a given XML doc - >> >> 1. Schema validation on "my_input_file.xml" using user supplied >> (XSD) schema. The file should remain unchanged and fed to the >> next step. >> 2. Schematron validation on "my_input_file.xml" using a user >> supplied schematron (.SCH). The file should remain unchanged and >> fed to the next step. >> 3. XSLT transform on "my_input_file.xml" (using a user supplied >> .xsl) to produce "my_output_file.xml". >> >> >> -- M. A. Arefin >> >> 240.401.7074 (cell) >> >> >> -- Gerrit Imsieke >> Geschäftsführer / Managing Director >> le-tex publishing services GmbH >> Weissenfelser Str. 84, 04229 Leipzig, Germany >> Phone +49 341 355356 110, Fax +49 341 355356 510 >> gerrit.imsieke@le-tex.de <mailto:gerrit.imsieke@le-tex.de>, >> http://www.le-tex.de >> >> Registergericht / Commercial Register: Amtsgericht Leipzig >> Registernummer / Registration Number: HRB 24930 >> >> Geschäftsführer / Managing Directors: >> Gerrit Imsieke, Svea Jelonek, Thomas Schmidt >> >> >> >> -- >> Thank you! >> >> - M. A. Arefin >> >> > -- > Gerrit Imsieke > Geschäftsführer / Managing Director > le-tex publishing services GmbH > Weissenfelser Str. 84, 04229 Leipzig, Germany > Phone +49 341 355356 110, Fax +49 341 355356 510 > gerrit.imsieke@le-tex.de, http://www.le-tex.de > > Registergericht / Commercial Register: Amtsgericht Leipzig > Registernummer / Registration Number: HRB 24930 > > Geschäftsführer / Managing Directors: > Gerrit Imsieke, Svea Jelonek, Thomas Schmidt > -- Thank you! - M. A. Arefin
Received on Monday, 9 April 2018 02:26:31 UTC