XProcq debugging - error using custom subpipeline in p:when

View: New views
6 Messages — Rating Filter:   Alert me  

XProcq debugging - error using custom subpipeline in p:when

by Josh2007 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

Using a custom subpipeline coming from an imported library generates err:XS0044 in p:when.
It seems custom steps coming from an imported library work fine while at pipeline level, but generate errors while at subpipeline level.
While the specification allows it, is it possible that p:when doesn't support custom subpipelines?

Here's my xproc:

<p:pipeline xmlns:site="http://www.atrinium.org/ns/modules/site" xmlns:xmldb="http://exist-db.org/xquery/xmldb" xmlns:test="http://www.xxx.org/ns/test" xmlns:c="http://www.w3.org/ns/xproc-step" xmlns:p="http://www.w3.org/ns/xproc"
name="t">
    <p:import href="/db/production/lib/xproc/test/test.xpl"/>
    <p:identity/>
    <p:choose>
        <p:when test="matches(//path,'test')">
            <test:gateway name="test-gateway"/>
        </p:when>
        <p:otherwise/>
    </p:choose>
</p:pipeline>

Here's the error generated:

err:XS0044: XProc Static Error - static error during explicit naming pass: test:gateway:test-gateway It is a static error if any element in the XProc namespace or any step has element children other than those specified for it by this specification. In particular, the presence of atomic steps for which there is no visible declaration may raise this error.
(http://www.w3.org/ns/xproc-error#XS0044) [at line 164, column 9]

Custom steps set out of p:choose work fine.

Is it a bug or my mistake?

Thanks,

Josh

Re: XProcq debugging - error using custom subpipeline in p:when

by James Fuller-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Oct 19, 2009 at 12:03 PM, Josh2007 <josh070713@...> wrote:
>
> Hello,
>
> Using a custom subpipeline coming from an imported library generates
> err:XS0044 in p:when.
> It seems custom steps coming from an imported library work fine while at
> pipeline level, but generate errors while at subpipeline level.
> While the specification allows it, is it possible that p:when doesn't
> support custom subpipelines?

this is a known limitation (bug) and will be addressed with Oct 26th
release, just need to enable the logic for allowing custom steps in
nested xproc structures like p:choose, etc.

thx for the report/testing, J

>
> Here's my xproc:
>
> <p:pipeline xmlns:site="http://www.atrinium.org/ns/modules/site"
> xmlns:xmldb="http://exist-db.org/xquery/xmldb"
> xmlns:test="http://www.xxx.org/ns/test"
> xmlns:c="http://www.w3.org/ns/xproc-step"
> xmlns:p="http://www.w3.org/ns/xproc"
> name="t">
>    <p:import href="/db/production/lib/xproc/test/test.xpl"/>
>    <p:identity/>
>    <p:choose>
>        <p:when test="matches(//path,'test')">
>            <test:gateway name="test-gateway"/>
>        </p:when>
>        <p:otherwise/>
>    </p:choose>
> </p:pipeline>
>
> Here's the error generated:
>
> err:XS0044: XProc Static Error - static error during explicit naming pass:
> test:gateway:test-gateway It is a static error if any element in the XProc
> namespace or any step has element children other than those specified for it
> by this specification. In particular, the presence of atomic steps for which
> there is no visible declaration may raise this error.
> (http://www.w3.org/ns/xproc-error#XS0044) [at line 164, column 9]
>
> Custom steps set out of p:choose work fine.
>
> Is it a bug or my mistake?
>
> Thanks,
>
> Josh
> --
> View this message in context: http://www.nabble.com/XProcq-debugging---error-using-custom-subpipeline-in-p%3Awhen-tp25955841p25955841.html
> Sent from the exist-open mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Exist-open mailing list
> Exist-open@...
> https://lists.sourceforge.net/lists/listinfo/exist-open
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open

Re: XProcq debugging - error using custom subpipeline in p:when

by Josh2007 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi James,

Can you update us on the status of the release and let us know if it will be available in eXist repository?

Thanks,

Josh

James Fuller-4 wrote:
On Mon, Oct 19, 2009 at 12:03 PM, Josh2007 <josh070713@gmail.com> wrote:
>
> Hello,
>
> Using a custom subpipeline coming from an imported library generates
> err:XS0044 in p:when.
> It seems custom steps coming from an imported library work fine while at
> pipeline level, but generate errors while at subpipeline level.
> While the specification allows it, is it possible that p:when doesn't
> support custom subpipelines?

this is a known limitation (bug) and will be addressed with Oct 26th
release, just need to enable the logic for allowing custom steps in
nested xproc structures like p:choose, etc.

thx for the report/testing, J

>
> Here's my xproc:
>
> <p:pipeline xmlns:site="http://www.atrinium.org/ns/modules/site"
> xmlns:xmldb="http://exist-db.org/xquery/xmldb"
> xmlns:test="http://www.xxx.org/ns/test"
> xmlns:c="http://www.w3.org/ns/xproc-step"
> xmlns:p="http://www.w3.org/ns/xproc"
> name="t">
>    <p:import href="/db/production/lib/xproc/test/test.xpl"/>
>    <p:identity/>
>    <p:choose>
>        <p:when test="matches(//path,'test')">
>            <test:gateway name="test-gateway"/>
>        </p:when>
>        <p:otherwise/>
>    </p:choose>
> </p:pipeline>
>
> Here's the error generated:
>
> err:XS0044: XProc Static Error - static error during explicit naming pass:
> test:gateway:test-gateway It is a static error if any element in the XProc
> namespace or any step has element children other than those specified for it
> by this specification. In particular, the presence of atomic steps for which
> there is no visible declaration may raise this error.
> (http://www.w3.org/ns/xproc-error#XS0044) [at line 164, column 9]
>
> Custom steps set out of p:choose work fine.
>
> Is it a bug or my mistake?
>
> Thanks,
>
> Josh
> --
> View this message in context: http://www.nabble.com/XProcq-debugging---error-using-custom-subpipeline-in-p%3Awhen-tp25955841p25955841.html
> Sent from the exist-open mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Exist-open mailing list
> Exist-open@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/exist-open
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Exist-open mailing list
Exist-open@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open

Re: XProcq debugging - error using custom subpipeline in p:when

by James Fuller-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

in progress ... I am hoping to push through key bits tomorrow (bank
holiday here in Prague). at worst will send out update tomorrow late.

J


On Tue, Oct 27, 2009 at 10:35 AM, Josh2007 <josh070713@...> wrote:

>
> Hi James,
>
> Can you update us on the status of the release and let us know if it will be
> available in eXist repository?
>
> Thanks,
>
> Josh
>
>
> James Fuller-4 wrote:
>>
>> On Mon, Oct 19, 2009 at 12:03 PM, Josh2007 <josh070713@...> wrote:
>>>
>>> Hello,
>>>
>>> Using a custom subpipeline coming from an imported library generates
>>> err:XS0044 in p:when.
>>> It seems custom steps coming from an imported library work fine while at
>>> pipeline level, but generate errors while at subpipeline level.
>>> While the specification allows it, is it possible that p:when doesn't
>>> support custom subpipelines?
>>
>> this is a known limitation (bug) and will be addressed with Oct 26th
>> release, just need to enable the logic for allowing custom steps in
>> nested xproc structures like p:choose, etc.
>>
>> thx for the report/testing, J
>>
>>>
>>> Here's my xproc:
>>>
>>> <p:pipeline xmlns:site="http://www.atrinium.org/ns/modules/site"
>>> xmlns:xmldb="http://exist-db.org/xquery/xmldb"
>>> xmlns:test="http://www.xxx.org/ns/test"
>>> xmlns:c="http://www.w3.org/ns/xproc-step"
>>> xmlns:p="http://www.w3.org/ns/xproc"
>>> name="t">
>>>    <p:import href="/db/production/lib/xproc/test/test.xpl"/>
>>>    <p:identity/>
>>>    <p:choose>
>>>        <p:when test="matches(//path,'test')">
>>>            <test:gateway name="test-gateway"/>
>>>        </p:when>
>>>        <p:otherwise/>
>>>    </p:choose>
>>> </p:pipeline>
>>>
>>> Here's the error generated:
>>>
>>> err:XS0044: XProc Static Error - static error during explicit naming
>>> pass:
>>> test:gateway:test-gateway It is a static error if any element in the
>>> XProc
>>> namespace or any step has element children other than those specified for
>>> it
>>> by this specification. In particular, the presence of atomic steps for
>>> which
>>> there is no visible declaration may raise this error.
>>> (http://www.w3.org/ns/xproc-error#XS0044) [at line 164, column 9]
>>>
>>> Custom steps set out of p:choose work fine.
>>>
>>> Is it a bug or my mistake?
>>>
>>> Thanks,
>>>
>>> Josh
>>> --
>>> View this message in context:
>>> http://www.nabble.com/XProcq-debugging---error-using-custom-subpipeline-in-p%3Awhen-tp25955841p25955841.html
>>> Sent from the exist-open mailing list archive at Nabble.com.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>>> is the only developer event you need to attend this year. Jumpstart your
>>> developing skills, take BlackBerry mobile applications to market and stay
>>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>>> http://p.sf.net/sfu/devconference
>>> _______________________________________________
>>> Exist-open mailing list
>>> Exist-open@...
>>> https://lists.sourceforge.net/lists/listinfo/exist-open
>>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> Exist-open mailing list
>> Exist-open@...
>> https://lists.sourceforge.net/lists/listinfo/exist-open
>>
>>
>
> --
> View this message in context: http://www.nabble.com/XProcq-debugging---error-using-custom-subpipeline-in-p%3Awhen-tp25955841p26074648.html
> Sent from the exist-open mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Exist-open mailing list
> Exist-open@...
> https://lists.sourceforge.net/lists/listinfo/exist-open
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open

Re: XProcq debugging - error using custom subpipeline in p:when

by Josh2007 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks James.

Regards,

Josh

James Fuller-4 wrote:
Hello,

in progress ... I am hoping to push through key bits tomorrow (bank
holiday here in Prague). at worst will send out update tomorrow late.

J


On Tue, Oct 27, 2009 at 10:35 AM, Josh2007 <josh070713@gmail.com> wrote:
>
> Hi James,
>
> Can you update us on the status of the release and let us know if it will be
> available in eXist repository?
>
> Thanks,
>
> Josh
>
>
> James Fuller-4 wrote:
>>
>> On Mon, Oct 19, 2009 at 12:03 PM, Josh2007 <josh070713@gmail.com> wrote:
>>>
>>> Hello,
>>>
>>> Using a custom subpipeline coming from an imported library generates
>>> err:XS0044 in p:when.
>>> It seems custom steps coming from an imported library work fine while at
>>> pipeline level, but generate errors while at subpipeline level.
>>> While the specification allows it, is it possible that p:when doesn't
>>> support custom subpipelines?
>>
>> this is a known limitation (bug) and will be addressed with Oct 26th
>> release, just need to enable the logic for allowing custom steps in
>> nested xproc structures like p:choose, etc.
>>
>> thx for the report/testing, J
>>
>>>
>>> Here's my xproc:
>>>
>>> <p:pipeline xmlns:site="http://www.atrinium.org/ns/modules/site"
>>> xmlns:xmldb="http://exist-db.org/xquery/xmldb"
>>> xmlns:test="http://www.xxx.org/ns/test"
>>> xmlns:c="http://www.w3.org/ns/xproc-step"
>>> xmlns:p="http://www.w3.org/ns/xproc"
>>> name="t">
>>>    <p:import href="/db/production/lib/xproc/test/test.xpl"/>
>>>    <p:identity/>
>>>    <p:choose>
>>>        <p:when test="matches(//path,'test')">
>>>            <test:gateway name="test-gateway"/>
>>>        </p:when>
>>>        <p:otherwise/>
>>>    </p:choose>
>>> </p:pipeline>
>>>
>>> Here's the error generated:
>>>
>>> err:XS0044: XProc Static Error - static error during explicit naming
>>> pass:
>>> test:gateway:test-gateway It is a static error if any element in the
>>> XProc
>>> namespace or any step has element children other than those specified for
>>> it
>>> by this specification. In particular, the presence of atomic steps for
>>> which
>>> there is no visible declaration may raise this error.
>>> (http://www.w3.org/ns/xproc-error#XS0044) [at line 164, column 9]
>>>
>>> Custom steps set out of p:choose work fine.
>>>
>>> Is it a bug or my mistake?
>>>
>>> Thanks,
>>>
>>> Josh
>>> --
>>> View this message in context:
>>> http://www.nabble.com/XProcq-debugging---error-using-custom-subpipeline-in-p%3Awhen-tp25955841p25955841.html
>>> Sent from the exist-open mailing list archive at Nabble.com.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>>> is the only developer event you need to attend this year. Jumpstart your
>>> developing skills, take BlackBerry mobile applications to market and stay
>>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>>> http://p.sf.net/sfu/devconference
>>> _______________________________________________
>>> Exist-open mailing list
>>> Exist-open@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/exist-open
>>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> Exist-open mailing list
>> Exist-open@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/exist-open
>>
>>
>
> --
> View this message in context: http://www.nabble.com/XProcq-debugging---error-using-custom-subpipeline-in-p%3Awhen-tp25955841p26074648.html
> Sent from the exist-open mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Exist-open mailing list
> Exist-open@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/exist-open
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Exist-open mailing list
Exist-open@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open

Re: XProcq debugging - error using custom subpipeline in p:when

by Josh2007 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello James,

Any news about the new release?

Regards,

Josh


James Fuller-4 wrote:
Hello,

in progress ... I am hoping to push through key bits tomorrow (bank
holiday here in Prague). at worst will send out update tomorrow late.

J


On Tue, Oct 27, 2009 at 10:35 AM, Josh2007 <josh070713@gmail.com> wrote:
>
> Hi James,
>
> Can you update us on the status of the release and let us know if it will be
> available in eXist repository?
>
> Thanks,
>
> Josh
>
>
> James Fuller-4 wrote:
>>
>> On Mon, Oct 19, 2009 at 12:03 PM, Josh2007 <josh070713@gmail.com> wrote:
>>>
>>> Hello,
>>>
>>> Using a custom subpipeline coming from an imported library generates
>>> err:XS0044 in p:when.
>>> It seems custom steps coming from an imported library work fine while at
>>> pipeline level, but generate errors while at subpipeline level.
>>> While the specification allows it, is it possible that p:when doesn't
>>> support custom subpipelines?
>>
>> this is a known limitation (bug) and will be addressed with Oct 26th
>> release, just need to enable the logic for allowing custom steps in
>> nested xproc structures like p:choose, etc.
>>
>> thx for the report/testing, J
>>
>>>
>>> Here's my xproc:
>>>
>>> <p:pipeline xmlns:site="http://www.atrinium.org/ns/modules/site"
>>> xmlns:xmldb="http://exist-db.org/xquery/xmldb"
>>> xmlns:test="http://www.xxx.org/ns/test"
>>> xmlns:c="http://www.w3.org/ns/xproc-step"
>>> xmlns:p="http://www.w3.org/ns/xproc"
>>> name="t">
>>>    <p:import href="/db/production/lib/xproc/test/test.xpl"/>
>>>    <p:identity/>
>>>    <p:choose>
>>>        <p:when test="matches(//path,'test')">
>>>            <test:gateway name="test-gateway"/>
>>>        </p:when>
>>>        <p:otherwise/>
>>>    </p:choose>
>>> </p:pipeline>
>>>
>>> Here's the error generated:
>>>
>>> err:XS0044: XProc Static Error - static error during explicit naming
>>> pass:
>>> test:gateway:test-gateway It is a static error if any element in the
>>> XProc
>>> namespace or any step has element children other than those specified for
>>> it
>>> by this specification. In particular, the presence of atomic steps for
>>> which
>>> there is no visible declaration may raise this error.
>>> (http://www.w3.org/ns/xproc-error#XS0044) [at line 164, column 9]
>>>
>>> Custom steps set out of p:choose work fine.
>>>
>>> Is it a bug or my mistake?
>>>
>>> Thanks,
>>>
>>> Josh
>>> --
>>> View this message in context:
>>> http://www.nabble.com/XProcq-debugging---error-using-custom-subpipeline-in-p%3Awhen-tp25955841p25955841.html
>>> Sent from the exist-open mailing list archive at Nabble.com.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>>> is the only developer event you need to attend this year. Jumpstart your
>>> developing skills, take BlackBerry mobile applications to market and stay
>>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>>> http://p.sf.net/sfu/devconference
>>> _______________________________________________
>>> Exist-open mailing list
>>> Exist-open@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/exist-open
>>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> Exist-open mailing list
>> Exist-open@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/exist-open
>>
>>
>
> --
> View this message in context: http://www.nabble.com/XProcq-debugging---error-using-custom-subpipeline-in-p%3Awhen-tp25955841p26074648.html
> Sent from the exist-open mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Exist-open mailing list
> Exist-open@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/exist-open
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Exist-open mailing list
Exist-open@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open