migration problems 2 - string encoding problem

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

migration problems 2 - string encoding problem

Zsolt Czinkos-2
Hello

I have an instance with an XPath in it:

<form>
  <sort-column>person/@name</sort-name>
</form>

I have an xforms:setvalue in the view:

  <xforms:setvalue ref="viewControl/sort-column"><xsl:value-of select="$column"/></xforms:setvalue>

where $column contains the string 'owner/@name'.

When I submit the form, in the submited instance I have:
 
   owner%2F%40name


I put this into a generated XQuery script, which fails because of the %2F.


It is still the legacy xforms engine.

Any hints?

Thanks.

Zsolt


--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: migration problems 2 - string encoding problem

Erik Bruchez
Administrator
Zsolt,

It looks like this gets URL-encoded at some point. The truth is that we
haven't touched the legacy XForms engine in a while. Can you build a
simple reproducible case and send it our way?

-Erik

Zsolt Czinkos wrote:

> Hello
>
> I have an instance with an XPath in it:
>
> <form>
>   <sort-column>person/@name</sort-name>
> </form>
>
> I have an xforms:setvalue in the view:
>
>   <xforms:setvalue ref="viewControl/sort-column"><xsl:value-of
> select="$column"/></xforms:setvalue>
>
> where $column contains the string 'owner/@name'.
>
> When I submit the form, in the submited instance I have:
>  
>    owner%2F%40name
>
>
> I put this into a generated XQuery script, which fails because of the %2F.
>
>
> It is still the legacy xforms engine.
>
> Any hints?
>
> Thanks.
>
> Zsolt
>

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws