Re: ERROR: Misconfigured. No 'class' in configuration for p:xinclude

I am creating a deployment jar containing xml calabash jar and all other
jars including my own application jar. The Manifest file of the deployment
jar lists the jars including xmlcalabash. In my application code, I simply
pass the XPL file and other parameters to the XML Calabash Main driver's
runMethod() method. It runs fine from within Eclipse indicating that it is
an issue related to classpath, but I am trying to avoid setting classpath
and run it entirely from the deployment jar.

And I do not want to use a config file in /etc/ either!

Thank you.

On Wed, Apr 25, 2018 at 1:43 PM, Imsieke, Gerrit, le-tex <
gerrit.imsieke@le-tex.de> wrote:

> Can you describe exactly how you invoke it?
>
> I saw this error occasionally, but mostly when I used our own extensions
> without declaring them in the config file that we were using. But your
> error message pertains to a core XProc step.
>
> I just installed https://github.com/ndw/xmlcala
> bash1/releases/download/1.1.19-96/xmlcalabash-1.1.19-96.jar, changed into
> the directory where it was installed, created a small pipeline with a
> p:xinclude step and executed the pipeline.
>
> The pipeline is this:
>
> <p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
>   xmlns:c="http://www.w3.org/ns/xproc-step"
>   xmlns:xi="http://www.w3.org/2001/XInclude" version="1.0">
>   <p:input port="source" primary="true">
>     <p:inline>
>       <wrap><xi:include href="xpl/pipe.xpl"/></wrap>
>     </p:inline>
>   </p:input>
>   <p:output port="result" primary="true"/>
>   <p:xinclude/>
> </p:declare-step>
>
> And the result is this:
>
>       <wrap xmlns:c="http://www.w3.org/ns/xproc-step" xmlns:xi="
> http://www.w3.org/2001/XInclude"><p:declare-step xmlns:p="
> http://www.w3.org/ns/xproc" version="1.0">
> <p:input port="source">
>   <p:inline><doc>
> Congratulations! You've run your first pipeline!
> </doc></p:inline>
> </p:input>
> <p:output port="result"/>
>
> <p:identity/>
> </p:declare-step></wrap>
>
> Gerrit
>
>
> On 25/04/2018 18:33, M. A. Arefin wrote:
>
>> Hi,
>>
>> I am using XML Calabash 1.1.19-96 on CentOS 7 with Java 7 32-bit.
>>
>> Thank you.
>>
>> On Wed, Apr 25, 2018 at 12:00 PM, Achim Berndzen <
>> achim.berndzen@xml-project.com <mailto:achim.berndzen@xml-project.com>>
>> wrote:
>>
>>     Hi,
>>     this seems to be a processor related problem. Which XProc processor
>>     are you using?
>>
>>     Greetings from Germany,
>>     Achim
>>
>>     ------------------------------------------------
>>     Achim Berndzen
>>     achim.berndzen@xml-project.com <mailto:achim.berndzen@xml-project.com
>> >
>>
>>     <xml-project /> Achim Berndzen
>>     Kleine Breite 26a
>>     38302 Wolfenbüttel, Germany
>>
>>     http://www.xml-project.com
>>
>>
>>
>>
>>
>>      > Am 25.04.2018 um 17:40 schrieb M. A. Arefin <arefin.m.a@gmail.com
>>     <mailto:arefin.m.a@gmail.com>>:
>>      >
>>      > Hi all,
>>      >
>>      > I am getting this error -
>>      >
>>      > ERROR: Misconfigured. No 'class' in configuration for p:xinclude
>>      >
>>      > Not sure what configuration it is referring to! Any idea how to
>>     fix this?
>>      >
>>      > --
>>      > Thank you!
>>      >
>>      > - M. A. Arefin
>>
>>
>>
>>
>> --
>> Thank you!
>>
>> - M. A. Arefin
>>
>
> --
> 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 Wednesday, 25 April 2018 18:39:12 UTC