W3C home > Mailing lists > Public > xproc-dev@w3.org > November 2008

Re: calabash: does p:import support file:

From: Norman Walsh <ndw@nwalsh.com>
Date: Tue, 18 Nov 2008 16:45:31 -0500
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m2vduklnd0.fsf@nwalsh.com>
"James Fuller" <james.fuller.2007@gmail.com> writes:

> in calabash if I have a pipeline like
>
> <p:pipeline name="pipeline"
>             xmlns:p="http://www.w3.org/ns/xproc">
>
> <p:import href="file:test/xproc/basic/declare-step/count1.xml"/>
>
> <p:count1/>

You're not allowed to add things to the p: namespace.

>
> </p:pipeline>
>
> where the p:import brings in the count1.xml pipeline
>
> <p:declare-step name="count1" type="count1"

I wonder if you're allowed to have steps in no-namespace. Maybe.

>             xmlns:p="http://www.w3.org/ns/xproc">
>
> <p:input port="source"/>
> <p:output port="result"/>
>
>     <p:count/>
>
> </p:declare-step>
>
> calabash oddly throws err:XS0025;
>
> 'Pipeline failed: err:XS0025: null  It is a dynamic error if the
> processor encounters an xpath-version.....'

That sounds like a bug.

> I was expecting the count1 step to work, perhaps its because p:import
> href does not support file: ?

It should support file:. I'll take a look tonight.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Art happens--no hovel is safe from it,
http://nwalsh.com/            | no prince may depend upon it, and
                              | vastest intelligence cannot bring it
                              | about.--J. M. Whistler

Received on Tuesday, 18 November 2008 21:46:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 18 November 2008 21:46:15 GMT