Spaces in return values from select controls

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

Spaces in return values from select controls

Chris Bailey-2
Hi,

I have just noticed that spaces in the values of select controls are
being sent to my backend data storage layer as hex value 'A0'
(non-breaking html space) instead of '20' (normal space).

so that "Hello world"
<el>Hello(20)world</el>

is appearing as
<el>Hello(A0)world</el>
If this makes sense.

I've noticed this in 3.6.0beta.200708070321 and 3.6.0.200712061930

Where idea where/why this might be happening?

I'm using a post submission to a jsp file.

Chris.



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Spaces in return values from select controls

Alessandro Vernet
Administrator
Chris,

On Thu, Mar 13, 2008 at 3:48 AM, Chris Bailey <[hidden email]> wrote:

>  I have just noticed that spaces in the values of select controls are
>  being sent to my backend data storage layer as hex value 'A0'
>  (non-breaking html space) instead of '20' (normal space).
>
>  so that "Hello world"
>  <el>Hello(20)world</el>
>
>  is appearing as
>  <el>Hello(A0)world</el>
>  If this makes sense.
Is it possible that this is happening because you indeed have
non-breaking spaces (instead of regular spaces) in the XForms file, in
the itemset, or the xforms:item/xforms:value?

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.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
OW2 mailing lists service home page: http://www.ow2.org/wws