Error with FileUpload on 3.6 Orbeon using firefox 2

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

Error with FileUpload on 3.6 Orbeon using firefox 2

Mark.El
Hi,

I was wondering if anyone as come across this issue.

I have taken Orbeon from the website link with release date 6th of December...

Anyway, I cannot get the file upload to work in Firefox 2, It works with IE 7 but not firefox... No Firebug errors either

Just the below error from Orbeon. I have pasted the code below as well...

I will try the nightly build first thing tomorrow and see if its been fixed...

My only issue is that I want to deploy my application soon and nightly builds are a bit risky to deploy...

If you have come across the issue and have a work around I would be interested...

Regards

Mark


--------------------------------------------------------------------------------------------------------------------------------------------------------------------

An error has occurred in Orbeon Forms. You may want to try one of the following:

  • Close this dialog and continue to use this page.
  • Reload this page. Note that you will lose any unsaved changes.
  • If the above does not work, try reloading the page yourself. Note that you will lose any unsaved changes:

    • With Firefox and Safari: hold down the shift key and click the Reload button in your browser toolbar.
    • With Internet Explorer: hold down the control key and click the Reload button in your browser toolbar.
  • Return home.

Hide Details Hide details

XML Parsing Error: not well-formed Location: http://192.168.1.8:8181/orbeon/ofbiz/test-upload Line Number 1, Column 32:

---------------------------------------------------------------------------------------------------------------------------------


<?xml version="1.0" encoding="windows-1252"?>

<xhtml:html xmlns:xforms="http://www.w3.org/2002/xforms"
    xmlns:f="http://orbeon.org/oxf/xml/formatting"
    xmlns:xhtml="http://www.w3.org/1999/xhtml"
    xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
    xmlns:widget="http://orbeon.org/oxf/xml/widget"
    xmlns:ev="http://www.w3.org/2001/xml-events"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:service="http://192.168.1.8:8080/webtools/control/SoapService"
    xmlns:xi="http://www.w3.org/2001/XInclude"
    xmlns:ns1="http://192.168.1.8:8080/webtools/control/SoapService">

    <xhtml:head>
        <xhtml:title>Test Upload</xhtml:title>
        <xforms:model>
           
            <xforms:instance id="careers">
                <career-submission>
                    <name />
                    <email />
                    <cv filename="" mediatype="" size="" />
                </career-submission>
            </xforms:instance>
           
            <xforms:bind nodeset="instance('careers')">
                          
                            <xforms:bind nodeset="cv" type="xs:anyURI"/>
            </xforms:bind>
           
            <xforms:instance id="response-instance">
                            <instance xmlns=""/>
                        </xforms:instance>
           

            <xforms:instance id="ws-response">
                <dummy/>
               
            </xforms:instance>
           
       
           
            <xforms:instance id="error-message">
                <message />
            </xforms:instance>
           


           
            <xforms:submission id="background-submission" method="post" replace="instance" action="/ofbiz/test-upload-workflow" instance="response-instance" ref="instance('careers')"/>
        </xforms:model>
        <xhtml:style type="text/css">
            .xforms-repeat-selected-item-1 { background: white; }
            .gridtable { margin-top: 1em; }
            .gridtable td { vertical-align: middle; }
        </xhtml:style>
    </xhtml:head>
    <xhtml:body>
            <xforms:input ref="instance('careers')/name"><xforms:label>Name</xforms:label></xforms:input><br/>
        <xforms:upload ref="instance('careers')/cv" xxforms:size="60">
                                   <xforms:filename ref="@filename"/>
                                   <xforms:mediatype ref="@mediatype"/>
                                   <xxforms:size ref="@size"/>
                                   <xforms:setvalue ev:event="xforms-select" ref="instance('selected')">Yes! A file got selected!</xforms:setvalue>
                               </xforms:upload>
       
        <xforms:trigger>
                        <xforms:label>Upload Selected Files</xforms:label>
                        <xforms:action ev:event="DOMActivate">
                            <xforms:send submission="background-submission"/>
                        </xforms:action>
                    </xforms:trigger>
       

        <xxforms:dialog id="error-dialog" appearance="full" level="modal" close="true" draggable="true" visible="false"><xforms:label>Dialog title</xforms:label><xforms:output ref="instance('error-message')" mediatype="text/html" /></xxforms:dialog&g t;
     
        <widget:xforms-instance-inspector xmlns:widget="http://orbeon.org/oxf/xml/widget"/>

        <xforms:output ref="instance('error-message')" mediatype="text/html"/>
       
    </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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Error with FileUpload on 3.6 Orbeon using firefox 2

Alessandro Vernet
Administrator
Mark,

On Mon, Mar 3, 2008 at 11:04 AM, Mark Ellul <[hidden email]> wrote:

> I was wondering if anyone as come across this issue.
>
> I have taken Orbeon from the website link with release date 6th of
> December...
>
> Anyway, I cannot get the file upload to work in Firefox 2, It works with IE
> 7 but not firefox... No Firebug errors either
>
> Just the below error from Orbeon. I have pasted the code below as well...
>
> I will try the nightly build first thing tomorrow and see if its been
> fixed...
The message reads "XML Parsing Error: not well-formed". Do you have an
idea of what file could cause the problem (i.e. a file that would have
an XML syntax error)?

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

Re: Re: Error with FileUpload on 3.6 Orbeon using firefox 2

Mark.El
Hi Alex...

I am using the xhtml I included in my original mail... Which is more or less what is in the demo applications, minus the complexity of adding other files... so its just one file upload...

On a side note I could not get Orbeon 3.6 release or nightly build  working with Liferay 4.4.2, so I went to the Liferay Community Plugins and got Orbeon 3.5.1 from there and it worked straight out of the box.

So thats the version I am working with... The file upload example I am running now on Firefox 2 gives a  "Unexpected response recieved from server"
When I run the same example in Firefox 3 b3 it works, and IE 7.

using firebug in Firefox 2 I get this response below...

I am not sure what the issue is... the XPL its submitting to is the same one the demo upload app submits to.

Any help or pointers on how you want me to extract more information would be appreciated


Regards

Mark


<?xml version="1.0" encoding="utf-8"?>
<xxf:event-response xmlns:xxf="http://orbeon.org/oxf/xml/xforms">
 <xxf:dynamic-state>session:A37E3B53-A90D-572B-014B-9975FF33C5F0</xxf:dynamic-state>
 <xxf:action>

"expected response received from server"
  <xxf:control-values/>
  <xxf:server-events>X2y6DZ/6qm2DVk7pwZD2lLv6B/qrzHC5VW1ALGsPUGdoMLXlFtJD4A2Dn0iHfwCXWDmgHmytlIInzB
OsawbjLNLJp4EYY4MYUZFuEuuHhk5ovyfNLCpXDk40K0qJCf8RlCRtZ7VOLW/igPw12NQiZHxBaR
3xFZT08tU2LAzT0WwmQAErSZlubZnA==</xxf:server-events>
  <xxf:submission action="http://192.168.1.8:8181/sample-orbeon-forms-portlet//xforms-server"
                  method="POST"
                  replace="instance"/>
 </xxf:action>
</xxf:event-response>






On Wed, Mar 5, 2008 at 1:17 AM, Alessandro Vernet <[hidden email]> wrote:
Mark,

On Mon, Mar 3, 2008 at 11:04 AM, Mark Ellul <[hidden email]> wrote:
> I was wondering if anyone as come across this issue.
>
> I have taken Orbeon from the website link with release date 6th of
> December...
>
> Anyway, I cannot get the file upload to work in Firefox 2, It works with IE
> 7 but not firefox... No Firebug errors either
>
> Just the below error from Orbeon. I have pasted the code below as well...
>
> I will try the nightly build first thing tomorrow and see if its been
> fixed...

The message reads "XML Parsing Error: not well-formed". Do you have an
idea of what file could cause the problem (i.e. a file that would have
an XML syntax error)?

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




--
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: Re: Error with FileUpload on 3.6 Orbeon using firefox 2

Mark.El
Hi Alex,

I have solved the issue... It seems the linkification plugin I was using, was throwing a Javascript error...

Weird huh...

Regards

Mark

On Wed, Mar 5, 2008 at 12:13 PM, Mark Ellul <[hidden email]> wrote:
Hi Alex...

I am using the xhtml I included in my original mail... Which is more or less what is in the demo applications, minus the complexity of adding other files... so its just one file upload...

On a side note I could not get Orbeon 3.6 release or nightly build  working with Liferay 4.4.2, so I went to the Liferay Community Plugins and got Orbeon 3.5.1 from there and it worked straight out of the box.

So thats the version I am working with... The file upload example I am running now on Firefox 2 gives a  "Unexpected response recieved from server"
When I run the same example in Firefox 3 b3 it works, and IE 7.

using firebug in Firefox 2 I get this response below...

I am not sure what the issue is... the XPL its submitting to is the same one the demo upload app submits to.

Any help or pointers on how you want me to extract more information would be appreciated


Regards

Mark


<?xml version="1.0" encoding="utf-8"?>
<xxf:event-response xmlns:xxf="http://orbeon.org/oxf/xml/xforms">
 <xxf:dynamic-state>session:A37E3B53-A90D-572B-014B-9975FF33C5F0</xxf:dynamic-state>
 <xxf:action>

"expected response received from server"
  <xxf:control-values/>
  <xxf:server-events>X2y6DZ/6qm2DVk7pwZD2lLv6B/qrzHC5VW1ALGsPUGdoMLXlFtJD4A2Dn0iHfwCXWDmgHmytlIInzB
OsawbjLNLJp4EYY4MYUZFuEuuHhk5ovyfNLCpXDk40K0qJCf8RlCRtZ7VOLW/igPw12NQiZHxBaR
3xFZT08tU2LAzT0WwmQAErSZlubZnA==</xxf:server-events>
  <xxf:submission action="http://192.168.1.8:8181/sample-orbeon-forms-portlet//xforms-server"
                  method="POST"
                  replace="instance"/>
 </xxf:action>
</xxf:event-response>






On Wed, Mar 5, 2008 at 1:17 AM, Alessandro Vernet <[hidden email]> wrote:
Mark,

On Mon, Mar 3, 2008 at 11:04 AM, Mark Ellul <[hidden email]> wrote:
> I was wondering if anyone as come across this issue.
>
> I have taken Orbeon from the website link with release date 6th of
> December...
>
> Anyway, I cannot get the file upload to work in Firefox 2, It works with IE
> 7 but not firefox... No Firebug errors either
>
> Just the below error from Orbeon. I have pasted the code below as well...
>
> I will try the nightly build first thing tomorrow and see if its been
> fixed...

The message reads "XML Parsing Error: not well-formed". Do you have an
idea of what file could cause the problem (i.e. a file that would have
an XML syntax error)?

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





--
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: Re: Re: Error with FileUpload on 3.6 Orbeon using firefox 2

Alessandro Vernet
Administrator
On Wed, Mar 5, 2008 at 3:21 AM, Mark Ellul <[hidden email]> wrote:
> I have solved the issue... It seems the linkification plugin I was using,
> was throwing a Javascript error...
>
> Weird huh...

I also had some weird issues with some plugins in the past, and try to
keep the number of plugins I have installed to the minimum.

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