- From: Florent Georges <fgeorges@fgeorges.org>
- Date: Tue, 17 Dec 2013 11:50:01 +0000
- To: RICAUD-DUSSARGET Matthieu <matthieu.ricaud@igs-cp.fr>
- Cc: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@le-tex.de>, XProc Dev <xproc-dev@w3.org>
Well, the first step is probably to fix your installation. Try to have a complete repro, you already have the pipeline, you only have to install all JAR files in a directory, and use a Java command line not using "-jar" but with an explicit "-cp" and class name (just to be sure there is no hidden Java black magic happening here). Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ On 17 December 2013 09:58, RICAUD-DUSSARGET Matthieu wrote: > Hi, > > Well it seems I have some problem with my Calabash installations. > > As I'm testing things with xproc i have 3 differents calabash launcher. > > These are the result of running your simple pipeline : > > 1) launcher "Calabash1.0.16" : the pipeline never ends up ?? > command line > java -Xms512m -Xmx1024m -Dcom.xmlcalabash.phonehome="false" > -jar J:\info_editoriale\XML_EDITORIAL\Recherche_et_Developpement\xproc\_de > v\calabash-1.0.16-95\calabash.jar _test\test_static-uri.xpl > > I have to look what's happen here, this is really strange ! see my other > post at http://markmail.org/thread/ih72ahgckiuejb4o > > 2) launcher "Calabash version 1.0.3 (for Saxon 9.4.x)" : it works fine :) > > 3) launcher "calabash_0.9.15" : > => error parsing xproc : Attribute not allowed: version => ok I delete it > => Unexpected step name: p:template => just like what my oXygen 12.2 says > > Well it seems xproc syntax (DTD?) has changed with the time, I have to make > my tools ready for 1.0. > > I find it hard dealing with xproc sometimes, but keep the faith ! > > Cheers > Matthieu > > > > 2013/12/16 Florent Georges <fgeorges@fgeorges.org> >> >> On 16 December 2013 17:29, RICAUD-DUSSARGET Matthieu wrote: >> >> > Seems like static-base-uri() is always empty, equal where I call it >> > from. >> >> Weird. The following pipeline outputs correctly a <uri> element >> with the URI of the pipeline document. How do you run your pipeline? >> >> <p:pipeline xmlns:p="http://www.w3.org/ns/xproc" version="1.0"> >> <p:template> >> <p:with-param name="uri" select="static-base-uri()"/> >> <p:input port="template"> >> <p:inline> >> <uri>{ $uri }</uri> >> </p:inline> >> </p:input> >> </p:template> >> </p:pipeline> >> >> Regards, >> >> -- >> Florent Georges >> http://fgeorges.org/ >> http://h2oconsulting.be/ > > > > > -- > Matthieu Ricaud-Dussarget > IGS-CP - Développeur XML > 05 45 37 09 49
Received on Tuesday, 17 December 2013 11:50:53 UTC