- From: M. A. Arefin <arefin.m.a@gmail.com>
- Date: Sat, 7 Apr 2018 12:51:29 -0400
- To: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@le-tex.de>
- Cc: "xproc-dev@w3.org" <xproc-dev@w3.org>
- Message-ID: <CAOsNLrMB7Bg7DdRgy4OBxczDtQ_+Bpxf3Lxwq2Kq19zkfdhWVA@mail.gmail.com>
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> 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, 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 Saturday, 7 April 2018 16:51:55 UTC