Re: Strange behaviour on Orbeon 3.7.1

Posted by Alessandro Vernet on
URL: https://discuss.orbeon.com/Strange-behaviour-on-Orbeon-3-7-1-tp1561469p1562403.html

Robin,

I don't see why it would work in one case, but not in the other. There
must be a difference, other than in the value returned (1 vs. 622).
Have you tried using the XForms inspector to look at the instances? Is
the XML exactly the same in both cases (including the namespace
declarations)?

Alex

On Fri, Feb 19, 2010 at 3:28 AM, Robin Diederen <[hidden email]> wrote:

> Hello all,
>
>
>
> I'm building an application on Orbeon 3.7.1. I've built a pipeline which
> performs a SOAP call. The outcome of that call is used on my form. At least,
> most of the times it is (and that's exactly my problem).
>
>
>
> For instance:
>
>
>
> I perform a SOAP call. A part of the document returned is:
>
> "<rsp:paginateResult><rsp:page>1</rsp:page><rsp:totalPages>63</rsp:totalPages><rsp:totalResults>622</rsp:totalResults></rsp:paginateResult>"
>
>
>
> When I want to print a value, totalResults for example, using a construct
> like "<xforms:output ref="instance('query-response')//rsp:totalResults"/>",
> I get exactly the result to be expected: 622
>
>
>
> However... when I get another search result (now the documented returned
> looks
> likeĀ "<rsp:paginateResult><rsp:page>1</rsp:page><rsp:totalPages>1</rsp:totalPages><rsp:totalResults>1</rsp:totalResults></rsp:paginateResult>")
> and I print again using the same xforms:output, nothing is printed at all.
>
>
>
> Would anybody have a clue how and why this can happen? I have checked the
> returned documents from the SOAP call and they are all just fine.
>
>
>
> Best, Robin
>
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet