- From: Imsieke, Gerrit, le-tex <gerrit.imsieke@le-tex.de>
- Date: Thu, 10 Apr 2014 08:33:51 +0200
- To: xproc-dev@w3.org
Hi Phil, Please note that you cannot give it a try before Calabash is patched. You can do it yourself, I can send you a class file that you have to put in your CLASSPATH before calabash.jar, or you may wait until Norm merges my pull request https://github.com/ndw/xmlcalabash1/pull/146 will be merged into the master branch and ships a new version. I’ve tried getting the schematron’s file path by using static-base-uri() or base-uri(document('')) from within the assert message, to no avail. They were empty. I’ve taken another approach: I pre-filled the let statement with a literal string value that I calculated in a p:add-attribute step. See the paste on http://www.sharexml.com/x/get?k=i3RcDHh8NZex Gerrit On 09.04.2014 16:50, GOOCH, Phil wrote: > Thanks Gerrit, I will give this a try. In my case, using base-uri() > won’t help, as the file I want to reference in the Schematron ruleset is > located in a directory relative to the Schematron .sch and Xproc .xpl > files, not the XML file being processed/validated. > > Thanks again for your detailed and helpful response. > > Cheers > > Phil > > *Phil Gooch* > > Senior Language Technologist > > Language Technology Group > > Global Academic Business, Dictionaries > > Oxford University Press | Great Clarendon Street | Oxford OX2 6DP > > E: phil.gooch@oup.com > > T: +44 (0)1865 354987 > > M: +44 (0)7876 881998 > > Oxford University Press (UK) Disclaimer > > This message is confidential. You should not copy it or disclose its > contents to anyone. You may use and apply the information for the > intended purpose only. OUP does not accept legal responsibility for the > contents of this message. Any views or opinions presented are those of > the author only and not of OUP. If this email has come to you in error, > please delete it, along with any attachments. Please note that OUP may > intercept incoming and outgoing email communications. > -- 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: Gerrit Imsieke, Svea Jelonek, Thomas Schmidt, Dr. Reinhard Vöckler
Received on Thursday, 10 April 2014 06:34:25 UTC