Error during submission

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

Error during submission

skolapalli
I am trying to so simple submission and I am getting following error message. 
"Input length (with padding) not multiple of 8 bytes"

Here is the mt view.xhtml that is doing the submission

<?xml version=" 1.0" encoding="UTF-8"?>
<xhtml:html xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xforms=" http://www.w3.org/2002/xforms" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema ">
    <xhtml:head>
        <xhtml:title/>
        <xforms:model xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:xs=" http://www.w3.org/2001/XMLSchema">
            <xforms:instance>
                <person>
                    <fname/>
                    <lname/>
                </person>
            </xforms:instance>
            <xforms:submission id="save-submission" action="/prototype/submit" method="post"/>
        </xforms:model>

    </xhtml:head>
    <xhtml:body>
        <xforms:input ref="/person/fname">
            <xforms:label>First Name</xforms:label>
        </xforms:input>
        <xforms:input ref="/person/lname">
            <xforms:label>Last Name</xforms:label>
        </xforms:input>

   <xforms:submit submission="save-submission"><xforms:label>Save</xforms:label></xforms:submit>
    </xhtml:body>
</xhtml:html>



--
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: Error during submission

Alessandro Vernet
Administrator
Hi Sree,

I couldn't run this code in the XForms sandbox. Is this working for you?

Note that there is a space before "1.0" in the XML version. I am not
sure if you have this in your original file, or if this is an artifact
of your code being pasted in the email. (I recommend you attach a file
with your code to your email to avoid this type of problems.)

Alex

On 2/20/07, Sree Kolapalli <[hidden email]> wrote:

> I am trying to so simple submission and I am getting following error
> message.
> "Input length (with padding) not multiple of 8 bytes"
>
> Here is the mt view.xhtml that is doing the submission
>
> <?xml version=" 1.0" encoding="UTF-8"?>
> <xhtml:html xmlns:ev="http://www.w3.org/2001/xml-events"
> xmlns:xforms=" http://www.w3.org/2002/xforms"
> xmlns:xhtml="http://www.w3.org/1999/xhtml"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema ">
>     <xhtml:head>
>         <xhtml:title/>
>         <xforms:model
> xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:xs="
> http://www.w3.org/2001/XMLSchema">
>             <xforms:instance>
>                 <person>
>                     <fname/>
>                     <lname/>
>                 </person>
>             </xforms:instance>
>             <xforms:submission id="save-submission"
> action="/prototype/submit" method="post"/>
>         </xforms:model>
>
>     </xhtml:head>
>     <xhtml:body>
>         <xforms:input ref="/person/fname">
>             <xforms:label>First Name</xforms:label>
>         </xforms:input>
>          <xforms:input ref="/person/lname">
>             <xforms:label>Last Name</xforms:label>
>         </xforms:input>
>
>    <xforms:submit
> submission="save-submission"><xforms:label>Save</xforms:label></xforms:submit>
>     </xhtml:body>
> </xhtml:html>
>
>
>
> --
> 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
>
>

--
Orbeon Forms - Web 2.0 Forms for the Enterprise
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