W3C home > Mailing lists > Public > xproc-dev@w3.org > January 2014

Re: own defined step and xml:base "inheritance"

From: RICAUD-DUSSARGET Matthieu <matthieu.ricaud@igs-cp.fr>
Date: Thu, 9 Jan 2014 12:31:00 +0100
Message-ID: <CADRkOwHdJ+LNopds450wagVrEfSAEbK2ypsAb4M_Dk1Bq6=tPQ@mail.gmail.com>
To: Florent Georges <fgeorges@fgeorges.org>, ndw@nwalsh.com
Cc: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@le-tex.de>, XProc Dev <xproc-dev@w3.org>
Hi,

I still have the same problem with "expath-repo-installer-0.12.0.jar".

After testing, it  seems this is a bug in last Calabash-1.0.16-95 when
running a specified step in a library (option -l ou --library in calabash
command line).

See test files down.

Any bug tracker for Calabash or this list is good for this ?

By the way I found another way to execute a specifed step in the command
line, using an option with the step name and then executing a main step
that have a p:choose to call the good ste :
<p:declare-step type="igs:main">
    <p:input port="source" primary="true"/>
    <p:output port="result" primary="true"/>
    <p:option name="mode" required="true"/>
    <p:choose>
      <p:when test="$mode='xml2ecf'">
        <igs:xml2ecf/>
      </p:when>
      <p:when test="$mode='xml2ecf_extract'">
        <igs:xml2ecf_extract/>
      </p:when>
      <p:when test="$mode='ecf2epub'">
        <igs:ecf2epubt/>
      </p:when>
    </p:choose>
  </p:declare-step>

a bit redondant but it's ok for me.

======================================
CALABASH BUG UNIT TEST FILES
======================================


COMMAND
======================================
java -Xms512m -Xmx1024m -jar calabash.jar -D -b igs=
http://www.igs-cp.fr/custom -l library.xpl -s igs:run -i source=input.xml


XPL : library.xpl
======================================
<?xml version="1.0"?>
<p:library   xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:igs="http://www.igs-cp.fr/custom"
                version="1.0">
  <p:pipeline type="igs:run">
    <p:identity/>
  </p:pipeline>
</p:library>

XML : input.xml
======================================
<?xml version="1.0" encoding="UTF-8"?>
<TESTS>
  <TEST>1</TEST>
  <TEST>2</TEST>
  <TEST>3</TEST>
</TESTS>

What's happen : the pipeline never ends up, sometimes a java error
(parsing) is through (when trying to write something in the console...)






2014/1/3 RICAUD-DUSSARGET Matthieu <matthieu.ricaud@igs-cp.fr>

> Thank you Florent, I'll have a look !
>
>
>
>
> 2013/12/30 Florent Georges <fgeorges@fgeorges.org>
>
>> On 17 December 2013 10:58, RICAUD-DUSSARGET Matthieu wrote:
>>
>>   Hi Matthieu,
>>
>> > Well it seems I have some problem with my Calabash installations.
>>
>>   Just to let you know that I have released a new version of the
>> EXPath package repository manager, which comes with a graphic
>> installer, Saxon and Calabash, and shell and batch scripts for both of
>> them (the batch script for Calabash is a new one).  They can be used
>> even if you don't use packages.
>>
>>   You can find it at http://expath.org/files.
>>
>>   Regards,
>>
>> --
>> Florent Georges
>> http://fgeorges.org/
>> http://h2oconsulting.be/
>>
>
>
>
> --
> Matthieu Ricaud-Dussarget
> IGS-CP - Développeur XML
> 05 45 37 09 49
>



-- 
Matthieu Ricaud-Dussarget
IGS-CP - Développeur XML
05 45 37 09 49
Received on Thursday, 9 January 2014 11:32:00 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:11 UTC