- From: Achim Berndzen <achim.berndzen@xml-project.com>
- Date: Tue, 13 Jun 2017 15:35:35 +0200
- To: XProc Dev <xproc-dev@w3.org>
- Cc: Hans Hübner <hans.huebner@lambdawerk.com>
Hi all, Sorry for catching up so late, but I had a day of in London. Thank you very much for helping out and finding a solution. I will fix relative URL handling for the next version released at the end of this or the beginning of next week (this is not a promise :-)) ), but I will work on it. Additionally I will add a test to the test suite, because obviously this case is not covered there. Greetings from Heathrow, Achim > Am 13.06.2017 um 16:28 schrieb Hans Hübner <hans.huebner@lambdawerk.com>: > > Thanks, Gerrit! The 'allow-foreign' parameter in fact helps, and I can also see that MorganaXProc does not deal with relative URLs correctly. I'll file a bug report. > > -Hans > > On Tue, Jun 13, 2017 at 3:16 PM, Imsieke, Gerrit, le-tex <gerrit.imsieke@le-tex.de> wrote: > Hi Hans, > > Thank for attending and for providing a first-hand account of a user experiencing the oft-mentioned steep learning curve. > > The step should be able to access the file system. In your case the issue might be that foreign markup is not activated. Try passing > <p:with-param name="allow-foreign" select="'true'"/> > to p:validate-with-schematron. > > I discovered though that Morgana doesn’t seem to pass the base URI of the schema to the Schematron implementation. Therefore it won’t resolve xsl:include with a relative @href correctly. Achim probably has to look into this. > > Gerrit > > > > > > On 6/13/17 1:07 PM, Hans Hübner wrote: > Hi, > > I would like to thank everyone who attended the XProc workshop, also for coping with those remarks and questions that I made out of my inexperience and/or ignorance of XProc's history. > > Is this the right place to ask user questions? I have this one: > > In our BPMN model checking code, written in Schematron, I would like to use a library of common XSLT functions from the Schematron validation document, using <xsl:include>. This works in Oxygen, but it seems that if Schematron (or XSLT, for that matter) is used from XProc, no access to the file system is possible, so the <xsl:include> does not actually include my function library, and the XSLT evaluation fails (This is with MorganaXProc + Saxon 9.7). > > So my question is: Are the p:validate-with-schematron and p:xslt steps supposed to not be able to access the file system at all, or is that behavior specific to MorganaXProc? > > Thanks! > Hans > > -- > LambdaWerk GmbH > Oranienburger Straße 87/89 > 10178 Berlin > Phone: +49 30 555 7335 0 > Fax: +49 30 555 7335 99 > > HRB 169991 B Amtsgericht Charlottenburg > USt-ID: DE301399951 > Geschäftsführer: Hans Hübner > > http://lambdawerk.com/ > > > > -- > 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 > > > > > -- > LambdaWerk GmbH > Oranienburger Straße 87/89 > 10178 Berlin > Phone: +49 30 555 7335 0 > Fax: +49 30 555 7335 99 > > HRB 169991 B Amtsgericht Charlottenburg > USt-ID: DE301399951 > Geschäftsführer: Hans Hübner > > http://lambdawerk.com/ > > -------------------------------------- Achim Berndzen achim.berndzen@xml-project.com http://www.xml-project.com
Received on Tuesday, 13 June 2017 14:36:10 UTC