XML Parsing Error: prefix not bound to a namespace

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

XML Parsing Error: prefix not bound to a namespace

Chaminda
Hi Falks,
 
Im getting following error, The request goes to servlet and servlet does a serverside forward to a xhtml. Output is following error msg in yellow background. Any Help;
 
 
XML Parsing Error: prefix not bound to a namespace
Location: http://localhost:8080/my-app/someAction.htm
Line Number 1, Column 39:
 
<?xml version="1.0" encoding="utf-8"?><null xsi:nil="true"/>
--------------------------------------^

--
Chaminda Amarasinghe,


--
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: XML Parsing Error: prefix not bound to a namespace

Erik Bruchez
Administrator
Chaminda,

It seems in that XML that the namespace declaration for the prefix  
"xsi" is missing so that document cannot be parsed.

I assumed you are not producing this document, but Orbeon Forms is,  
right? If it is, then it seems to be Orbeon Forms's fault. Now the  
question is how can we reproduce this to fix it?

-Erik

On Nov 26, 2007, at 2:53 AM, Chaminda Amarasinghe wrote:

> Hi Falks,
>
> Im getting following error, The request goes to servlet and servlet  
> does a serverside forward to a xhtml. Output is following error msg  
> in yellow background. Any Help;
>
>
> XML Parsing Error: prefix not bound to a namespace
> Location: http://localhost:8080/my-app/someAction.htm
> Line Number 1, Column 39:
>
> <?xml version="1.0" encoding="utf-8"?><null xsi:nil="true"/>
> --------------------------------------^
>
> --
> Chaminda Amarasinghe,
--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XML Parsing Error: prefix not bound to a namespace

Chaminda
Hi Erik,
 
Im not producing that doc, Want to note that this is not throw every times. shows output correctly 50% times.
 
 
This is the jsp Im accessing
 

<?

xml version="1.0" encoding="UTF-8"?>

<

html xmlns="http://www.w3.org/1999/xhtml "

xmlns:xforms="http://www.w3.org/2002/xforms"

xmlns:ev="http://www.w3.org/2001/xml-events" >

<head>

<title>XXX Form</ title>

<xforms:model>

<xforms:instance id="user-instance" >

<user>

<username/>

<password/>

</user>

</xforms:instance>

<xforms:submission action= "/login_input.action" method="post" id= "submit"/>

</xforms:model>

</head>

<body>

<table>

<tr>

<td>

<xforms:input ref="/user/username/" >

<xforms:label>User Name: </xforms:label>

</xforms:input>

</td>

</tr>

<tr>

<td>

<xforms:input ref="/user/password/" >

<xforms:label>Password: </xforms:label>

</xforms:input>

</td>

</tr>

</table>

<xforms:submit submission= "submit">

<xforms:label>Login</ xforms:label>

</xforms:submit>

</body>

</

html>Thanks

 
On 11/27/07, Erik Bruchez <[hidden email]> wrote:
Chaminda,

It seems in that XML that the namespace declaration for the prefix
"xsi" is missing so that document cannot be parsed.

I assumed you are not producing this document, but Orbeon Forms is,
right? If it is, then it seems to be Orbeon Forms's fault. Now the
question is how can we reproduce this to fix it?

-Erik

On Nov 26, 2007, at 2:53 AM, Chaminda Amarasinghe wrote:

> Hi Falks,
>
> Im getting following error, The request goes to servlet and servlet
> does a serverside forward to a xhtml. Output is following error msg
> in yellow background. Any Help;
>
>
> XML Parsing Error: prefix not bound to a namespace
> Location: http://localhost:8080/my-app/someAction.htm
> Line Number 1, Column 39:
>
> <?xml version="1.0" encoding="utf-8"?><null xsi:nil="true"/>
> --------------------------------------^
>
> --
> Chaminda Amarasinghe,

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




--
Chaminda Amarasinghe,

--
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: XML Parsing Error: prefix not bound to a namespace

Dan Godley
In reply to this post by Erik Bruchez
Hi Erik/Chaminda,

Did you ever find a solution to this?

I've getting the same 'prefix not bound to namespace' error message when using the separate WAR file method described here http://www.orbeon.com/ops/doc/reference-xforms-java.

I've found that forcing a reload of the page using Shift+F5 in Firefox is the only way I can get the page to render consistently.  Simply typing the URL into the address bar or doing a refresh of the page will either fail every time, or enter into a sequence where the page will render on the first call, then fail on the second (as described by Chaminda).

Any idea what could be going on here?  I'm using version 3.6.0rc1.200712040706.

Many thanks,

Dan

Dan Godley
Standards Developer
Origo Services Ltd


-----Original Message-----
From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez
Sent: 26 November 2007 23:11
To: [hidden email]
Subject: Re: [ops-users] XML Parsing Error: prefix not bound to a namespace

Chaminda,

It seems in that XML that the namespace declaration for the prefix "xsi" is missing so that document cannot be parsed.

I assumed you are not producing this document, but Orbeon Forms is, right? If it is, then it seems to be Orbeon Forms's fault. Now the question is how can we reproduce this to fix it?

-Erik

On Nov 26, 2007, at 2:53 AM, Chaminda Amarasinghe wrote:

> Hi Falks,
>
> Im getting following error, The request goes to servlet and servlet
> does a serverside forward to a xhtml. Output is following error msg in
> yellow background. Any Help;
>
>
> XML Parsing Error: prefix not bound to a namespace
> Location: http://localhost:8080/my-app/someAction.htm
> Line Number 1, Column 39:
>
> <?xml version="1.0" encoding="utf-8"?><null xsi:nil="true"/>
> --------------------------------------^
>
> --
> Chaminda Amarasinghe,
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/


E-mail disclaimer

The information in this e-mail is sent in confidence for the addressee only and may be legally privileged. Unauthorised recipients must preserve this confidentiality and should please advise the sender immediately of the error in transmission and then delete this e-mail. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on its content is prohibited and may be unlawful.

Origo Services Limited accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this e-mail or the contents.  It is your responsibility to scan for viruses.  Origo Services Limited reserves the right to monitor e-mails sent to or from addresses under its control.  When you reply to this e-mail, you are consenting to Origo Services Limited monitoring the content of the e-mails you send to or receive from Origo Services Limited.  If this e-mail is non-business related Origo Services Limited is not liable for any opinions expressed by the sender.  The contents of this e-mail are protected by copyright.  All rights reserved.

Origo Services Limited is a company incorporated in Scotland (company number 115061) having its registered office at 4th floor, Saltire Court, 20 Castle Terrace, Edinburgh EH1 2EN.



--
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: XML Parsing Error: prefix not bound to a namespace

Chaminda
Hi Dan,
 
Still I coulndt slove this issue :(
 
regards,

 
On 12/6/07, Dan Godley <[hidden email]> wrote:
Hi Erik/Chaminda,

Did you ever find a solution to this?

I've getting the same 'prefix not bound to namespace' error message when using the separate WAR file method described here http://www.orbeon.com/ops/doc/reference-xforms-java.

I've found that forcing a reload of the page using Shift+F5 in Firefox is the only way I can get the page to render consistently.  Simply typing the URL into the address bar or doing a refresh of the page will either fail every time, or enter into a sequence where the page will render on the first call, then fail on the second (as described by Chaminda).

Any idea what could be going on here?  I'm using version 3.6.0rc1.200712040706.

Many thanks,

Dan

Dan Godley
Standards Developer
Origo Services Ltd


-----Original Message-----
From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez
Sent: 26 November 2007 23:11
To: [hidden email]
Subject: Re: [ops-users] XML Parsing Error: prefix not bound to a namespace

Chaminda,

It seems in that XML that the namespace declaration for the prefix "xsi" is missing so that document cannot be parsed.

I assumed you are not producing this document, but Orbeon Forms is, right? If it is, then it seems to be Orbeon Forms's fault. Now the question is how can we reproduce this to fix it?

-Erik

On Nov 26, 2007, at 2:53 AM, Chaminda Amarasinghe wrote:

> Hi Falks,
>
> Im getting following error, The request goes to servlet and servlet
> does a serverside forward to a xhtml. Output is following error msg in
> yellow background. Any Help;
>
>
> XML Parsing Error: prefix not bound to a namespace
> Location: http://localhost:8080/my-app/someAction.htm
> Line Number 1, Column 39:
>
> <?xml version="1.0" encoding="utf-8"?><null xsi:nil="true"/>
> --------------------------------------^
>
> --
> Chaminda Amarasinghe,

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


E-mail disclaimer

The information in this e-mail is sent in confidence for the addressee only and may be legally privileged. Unauthorised recipients must preserve this confidentiality and should please advise the sender immediately of the error in transmission and then delete this e-mail. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on its content is prohibited and may be unlawful.

Origo Services Limited accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this e-mail or the contents.  It is your responsibility to scan for viruses.  Origo Services Limited reserves the right to monitor e-mails sent to or from addresses under its control.  When you reply to this e-mail, you are consenting to Origo Services Limited monitoring the content of the e-mails you send to or receive from Origo Services Limited.  If this e-mail is non-business related Origo Services Limited is not liable for any opinions expressed by the sender.  The contents of this e-mail are protected by copyright.  All rights reserved.

Origo Services Limited is a company incorporated in Scotland (company number 115061) having its registered office at 4th floor, Saltire Court, 20 Castle Terrace, Edinburgh EH1 2EN.



--
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




--
Chaminda Amarasinghe,

--
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: XML Parsing Error: prefix not bound to a namespace

Dan Godley

Hi Erik,

 

Any idea why Chaminda and I are getting this error?

 

In desperation, I tried debugging OPSXFormsFilter.doFilter for info, but all I could see was that the MyHttpServletResponseWrapper instance’s getContent method always returns null.

 

I’ve attached the debug info from the logs for one successful request and one unsuccessful request in case that’s of any use.

 

Many thanks, Dan

 

Dan Godley

Standards Developer
Origo Services Ltd
Tel: 0131 451 1186
Email: dgodley
[hidden email]

 

From: Chaminda Amarasinghe [mailto:[hidden email]]
Sent: 10 December 2007 10:11
To: [hidden email]
Subject: Re: [ops-users] XML Parsing Error: prefix not bound to a namespace

 

Hi Dan,

 

Still I coulndt slove this issue :(

 

regards,

 

On 12/6/07, Dan Godley <[hidden email]> wrote:

Hi Erik/Chaminda,

Did you ever find a solution to this?

I've getting the same 'prefix not bound to namespace' error message when using the separate WAR file method described here http://www.orbeon.com/ops/doc/reference-xforms-java.

I've found that forcing a reload of the page using Shift+F5 in Firefox is the only way I can get the page to render consistently.  Simply typing the URL into the address bar or doing a refresh of the page will either fail every time, or enter into a sequence where the page will render on the first call, then fail on the second (as described by Chaminda).

Any idea what could be going on here?  I'm using version 3.6.0rc1.200712040706.

Many thanks,

Dan

Dan Godley
Standards Developer
Origo Services Ltd


-----Original Message-----
From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez
Sent: 26 November 2007 23:11
To: [hidden email]
Subject: Re: [ops-users] XML Parsing Error: prefix not bound to a namespace

Chaminda,

It seems in that XML that the namespace declaration for the prefix "xsi" is missing so that document cannot be parsed.

I assumed you are not producing this document, but Orbeon Forms is, right? If it is, then it seems to be Orbeon Forms's fault. Now the question is how can we reproduce this to fix it?

-Erik

On Nov 26, 2007, at 2:53 AM, Chaminda Amarasinghe wrote:

> Hi Falks,
>
> Im getting following error, The request goes to servlet and servlet
> does a serverside forward to a xhtml. Output is following error msg in
> yellow background. Any Help;
>
>
> XML Parsing Error: prefix not bound to a namespace
> Location: http://localhost:8080/my-app/someAction.htm
> Line Number 1, Column 39:
>
> <?xml version="1.0" encoding="utf-8"?><null xsi:nil="true"/>
> --------------------------------------^
>
> --
> Chaminda Amarasinghe,

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


E-mail disclaimer

The information in this e-mail is sent in confidence for the addressee only and may be legally privileged. Unauthorised recipients must preserve this confidentiality and should please advise the sender immediately of the error in transmission and then delete this e-mail. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on its content is prohibited and may be unlawful.

Origo Services Limited accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this e-mail or the contents.  It is your responsibility to scan for viruses.  Origo Services Limited reserves the right to monitor e-mails sent to or from addresses under its control.  When you reply to this e-mail, you are consenting to Origo Services Limited monitoring the content of the e-mails you send to or receive from Origo Services Limited.  If this e-mail is non-business related Origo Services Limited is not liable for any opinions expressed by the sender.  The contents of this e-mail are protected by copyright.  All rights reserved.

Origo Services Limited is a company incorporated in Scotland (company number 115061) having its registered office at 4th floor, Saltire Court, 20 Castle Terrace, Edinburgh EH1 2EN.



--
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




--
Chaminda Amarasinghe,

E-mail disclaimer

 

The information in this e-mail is sent in confidence for the addressee only and may be legally privileged. Unauthorised recipients must preserve this confidentiality and should please advise the sender immediately of the error in transmission and then delete this e-mail. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on its content is prohibited and may be unlawful.

Origo Services Limited accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this e-mail or the contents.  It is your responsibility to scan for viruses.  Origo Services Limited reserves the right to monitor e-mails sent to or from addresses under its control.  When you reply to this e-mail, you are consenting to Origo Services Limited monitoring the content of the e-mails you send to or receive from Origo Services Limited.  If this e-mail is non-business related Origo Services Limited is not liable for any opinions expressed by the sender.  The contents of this e-mail are protected by copyright.  All rights reserved.

 

Origo Services Limited is a company incorporated in Scotland (company number 115061) having its registered office at 4th floor, Saltire Court, 20 Castle Terrace, Edinburgh EH1 2EN.



--
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

debug.txt (12K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: XML Parsing Error: prefix not bound to a namespace

Dustin Henson-2
Eric, Chaminda  and Dan,

I setup Orbeon to run as a separate application and I ran into the same problem. The first time the page displays ok for me, but viewing the page after that I get this error message:

XML Parsing Error: prefix not bound to a namespace
Location: http://localhost:8080/test/xforms-jsp/home.xhtml
Line Number 1, Column 39:

<?xml version="1.0" encoding="utf-8"?><null xsi:nil="true"/>
--------------------------------------^


I think it has something to do with the browser caching the page. I'm not sure exactly what happens behind the scenes, but I suspect the browser is trying to reload some dynamic part of the content and Orbeon gets confused because it is not aware of the page.

I was able to work around the problem by changing the page extension form .xhtml to .jsp, which browsers don't cache.

Hope this helps,
Dustin

Dan Godley wrote:

Hi Erik,

 

Any idea why Chaminda and I are getting this error?

 

In desperation, I tried debugging OPSXFormsFilter.doFilter for info, but all I could see was that the MyHttpServletResponseWrapper instance’s getContent method always returns null.

 

I’ve attached the debug info from the logs for one successful request and one unsuccessful request in case that’s of any use.

 

Many thanks, Dan

 

Dan Godley

Standards Developer
Origo Services Ltd
Tel: 0131 451 1186
Email: dgodley
[hidden email]

 

From: Chaminda Amarasinghe [[hidden email]]
Sent: 10 December 2007 10:11
To: [hidden email]
Subject: Re: [ops-users] XML Parsing Error: prefix not bound to a namespace

 

Hi Dan,

 

Still I coulndt slove this issue :(

 

regards,

 

On 12/6/07, Dan Godley <[hidden email]> wrote:

Hi Erik/Chaminda,

Did you ever find a solution to this?

I've getting the same 'prefix not bound to namespace' error message when using the separate WAR file method described here http://www.orbeon.com/ops/doc/reference-xforms-java.

I've found that forcing a reload of the page using Shift+F5 in Firefox is the only way I can get the page to render consistently.  Simply typing the URL into the address bar or doing a refresh of the page will either fail every time, or enter into a sequence where the page will render on the first call, then fail on the second (as described by Chaminda).

Any idea what could be going on here?  I'm using version 3.6.0rc1.200712040706.

Many thanks,

Dan

Dan Godley
Standards Developer
Origo Services Ltd


-----Original Message-----
From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez
Sent: 26 November 2007 23:11
To: [hidden email]
Subject: Re: [ops-users] XML Parsing Error: prefix not bound to a namespace

Chaminda,

It seems in that XML that the namespace declaration for the prefix "xsi" is missing so that document cannot be parsed.

I assumed you are not producing this document, but Orbeon Forms is, right? If it is, then it seems to be Orbeon Forms's fault. Now the question is how can we reproduce this to fix it?

-Erik

On Nov 26, 2007, at 2:53 AM, Chaminda Amarasinghe wrote:

> Hi Falks,
>
> Im getting following error, The request goes to servlet and servlet
> does a serverside forward to a xhtml. Output is following error msg in
> yellow background. Any Help;
>
>
> XML Parsing Error: prefix not bound to a namespace
> Location: http://localhost:8080/my-app/someAction.htm
> Line Number 1, Column 39:
>
> <?xml version="1.0" encoding="utf-8"?><null xsi:nil="true"/>
> --------------------------------------^
>
> --
> Chaminda Amarasinghe,

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


E-mail disclaimer

The information in this e-mail is sent in confidence for the addressee only and may be legally privileged. Unauthorised recipients must preserve this confidentiality and should please advise the sender immediately of the error in transmission and then delete this e-mail. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on its content is prohibited and may be unlawful.

Origo Services Limited accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this e-mail or the contents.  It is your responsibility to scan for viruses.  Origo Services Limited reserves the right to monitor e-mails sent to or from addresses under its control.  When you reply to this e-mail, you are consenting to Origo Services Limited monitoring the content of the e-mails you send to or receive from Origo Services Limited.  If this e-mail is non-business related Origo Services Limited is not liable for any opinions expressed by the sender.  The contents of this e-mail are protected by copyright.  All rights reserved.

Origo Services Limited is a company incorporated in Scotland (company number 115061) having its registered office at 4th floor, Saltire Court, 20 Castle Terrace, Edinburgh EH1 2EN.



--
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




--
Chaminda Amarasinghe,

E-mail disclaimer

 

The information in this e-mail is sent in confidence for the addressee only and may be legally privileged. Unauthorised recipients must preserve this confidentiality and should please advise the sender immediately of the error in transmission and then delete this e-mail. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on its content is prohibited and may be unlawful.

Origo Services Limited accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this e-mail or the contents.  It is your responsibility to scan for viruses.  Origo Services Limited reserves the right to monitor e-mails sent to or from addresses under its control.  When you reply to this e-mail, you are consenting to Origo Services Limited monitoring the content of the e-mails you send to or receive from Origo Services Limited.  If this e-mail is non-business related Origo Services Limited is not liable for any opinions expressed by the sender.  The contents of this e-mail are protected by copyright.  All rights reserved.

 

Origo Services Limited is a company incorporated in Scotland (company number 115061) having its registered office at 4th floor, Saltire Court, 20 Castle Terrace, Edinburgh EH1 2EN.



--
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: XML Parsing Error: prefix not bound to a namespace

Erik Bruchez
Administrator
In reply to this post by Dan Godley
All,

If getContent() returns null, it may either be a bug in the filter, or  
that your page somehow doesn't produce any content.

I do remember that we fixed a caching problem a while ago, which  
caused issues with servlet forwards. Since forwards are used in  
separate deployment, it could be the same issue. Do you encounter this  
with 3.6?

If so, then the key to this seems to be for us to reproduce the issue.

-Erik

On Dec 10, 2007, at 8:37 AM, Dan Godley wrote:

> Hi Erik,
>
> Any idea why Chaminda and I are getting this error?
>
> In desperation, I tried debugging OPSXFormsFilter.doFilter for info,  
> but all I could see was that the MyHttpServletResponseWrapper  
> instance’s getContent method always returns null.
>
> I’ve attached the debug info from the logs for one successful  
> request and one unsuccessful request in case that’s of any use.
>
> Many thanks, Dan
>
> Dan Godley
> Standards Developer
> Origo Services Ltd
> Tel: 0131 451 1186
> Email: [hidden email]
>
> From: Chaminda Amarasinghe [mailto:[hidden email]]
> Sent: 10 December 2007 10:11
> To: [hidden email]
> Subject: Re: [ops-users] XML Parsing Error: prefix not bound to a  
> namespace
>
> Hi Dan,
>
> Still I coulndt slove this issue :(
>
> regards,
>
>
> On 12/6/07, Dan Godley <[hidden email]> wrote:
> Hi Erik/Chaminda,
>
> Did you ever find a solution to this?
>
> I've getting the same 'prefix not bound to namespace' error message  
> when using the separate WAR file method described here http://www.orbeon.com/ops/doc/reference-xforms-java 
> .
>
> I've found that forcing a reload of the page using Shift+F5 in  
> Firefox is the only way I can get the page to render consistently.  
> Simply typing the URL into the address bar or doing a refresh of the  
> page will either fail every time, or enter into a sequence where the  
> page will render on the first call, then fail on the second (as  
> described by Chaminda).
>
> Any idea what could be going on here?  I'm using version  
> 3.6.0rc1.200712040706.
>
> Many thanks,
>
> Dan
>
> Dan Godley
> Standards Developer
> Origo Services Ltd
>
>
> -----Original Message-----
> From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik  
> Bruchez
> Sent: 26 November 2007 23:11
> To: [hidden email]
> Subject: Re: [ops-users] XML Parsing Error: prefix not bound to a  
> namespace
>
> Chaminda,
>
> It seems in that XML that the namespace declaration for the prefix  
> "xsi" is missing so that document cannot be parsed.
>
> I assumed you are not producing this document, but Orbeon Forms is,  
> right? If it is, then it seems to be Orbeon Forms's fault. Now the  
> question is how can we reproduce this to fix it?
>
> -Erik
>
> On Nov 26, 2007, at 2:53 AM, Chaminda Amarasinghe wrote:
>
> > Hi Falks,
> >
> > Im getting following error, The request goes to servlet and servlet
> > does a serverside forward to a xhtml. Output is following error  
> msg in
> > yellow background. Any Help;
> >
> >
> > XML Parsing Error: prefix not bound to a namespace
> > Location: http://localhost:8080/my-app/someAction.htm
> > Line Number 1, Column 39:
> >
> > <?xml version="1.0" encoding="utf-8"?><null xsi:nil="true"/>
> > --------------------------------------^
> >
> > --
> > Chaminda Amarasinghe,
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>
> E-mail disclaimer
>
> The information in this e-mail is sent in confidence for the  
> addressee only and may be legally privileged. Unauthorised  
> recipients must preserve this confidentiality and should please  
> advise the sender immediately of the error in transmission and then  
> delete this e-mail. If you are not the intended recipient, any  
> disclosure, copying, distribution or any action taken in reliance on  
> its content is prohibited and may be unlawful.
>
> Origo Services Limited accepts no responsibility for any loss or  
> damage resulting directly or indirectly from the use of this e-mail  
> or the contents.  It is your responsibility to scan for viruses.  
> Origo Services Limited reserves the right to monitor e-mails sent to  
> or from addresses under its control.  When you reply to this e-mail,  
> you are consenting to Origo Services Limited monitoring the content  
> of the e-mails you send to or receive from Origo Services Limited.  
> If this e-mail is non-business related Origo Services Limited is not  
> liable for any opinions expressed by the sender.  The contents of  
> this e-mail are protected by copyright.  All rights reserved.
>
> Origo Services Limited is a company incorporated in Scotland  
> (company number 115061) having its registered office at 4th floor,  
> Saltire Court, 20 Castle Terrace, Edinburgh EH1 2EN.
>
>
>
> --
> 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
>
>
>
> --
> Chaminda Amarasinghe,
> E-mail disclaimer
>
> The information in this e-mail is sent in confidence for the  
> addressee only and may be legally privileged. Unauthorised  
> recipients must preserve this confidentiality and should please  
> advise the sender immediately of the error in transmission and then  
> delete this e-mail. If you are not the intended recipient, any  
> disclosure, copying, distribution or any action taken in reliance on  
> its content is prohibited and may be unlawful.
> Origo Services Limited accepts no responsibility for any loss or  
> damage resulting directly or indirectly from the use of this e-mail  
> or the contents.  It is your responsibility to scan for viruses.  
> Origo Services Limited reserves the right to monitor e-mails sent to  
> or from addresses under its control.  When you reply to this e-mail,  
> you are consenting to Origo Services Limited monitoring the content  
> of the e-mails you send to or receive from Origo Services Limited.  
> If this e-mail is non-business related Origo Services Limited is not  
> liable for any opinions expressed by the sender.  The contents of  
> this e-mail are protected by copyright.  All rights reserved.
>
> Origo Services Limited is a company incorporated in Scotland  
> (company number 115061) having its registered office at 4th floor,  
> Saltire Court, 20 Castle Terrace, Edinburgh EH1 2EN.<debug.txt>
>
> --
> 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 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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XML Parsing Error: prefix not bound to a namespace

Erik Bruchez
Administrator
All,

This is now fixed. What happened was that Tomcat would react to the  
browser doing a conditional get, which may result in not sending a  
response body. Orbeon Forms would then serve a <null> document to the  
browser.

I made it so that when going through the filter we don't pass the  
conditional HTTP headers so that content is always produced.

I have also fixed the parsing error which could occur when the  
oxf:scope-generator produced an empty document.

-Erik

On Dec 17, 2007, at 10:25 PM, Erik Bruchez wrote:

> All,
>
> If getContent() returns null, it may either be a bug in the filter,  
> or that your page somehow doesn't produce any content.
>
> I do remember that we fixed a caching problem a while ago, which  
> caused issues with servlet forwards. Since forwards are used in  
> separate deployment, it could be the same issue. Do you encounter  
> this with 3.6?
>
> If so, then the key to this seems to be for us to reproduce the issue.
>
> -Erik
>
> On Dec 10, 2007, at 8:37 AM, Dan Godley wrote:
>
>> Hi Erik,
>>
>> Any idea why Chaminda and I are getting this error?
>>
>> In desperation, I tried debugging OPSXFormsFilter.doFilter for  
>> info, but all I could see was that the MyHttpServletResponseWrapper  
>> instance’s getContent method always returns null.
>>
>> I’ve attached the debug info from the logs for one successful  
>> request and one unsuccessful request in case that’s of any use.
>>
>> Many thanks, Dan
>>
>> Dan Godley
>> Standards Developer
>> Origo Services Ltd
>> Tel: 0131 451 1186
>> Email: [hidden email]
>>
>> From: Chaminda Amarasinghe [mailto:[hidden email]]
>> Sent: 10 December 2007 10:11
>> To: [hidden email]
>> Subject: Re: [ops-users] XML Parsing Error: prefix not bound to a  
>> namespace
>>
>> Hi Dan,
>>
>> Still I coulndt slove this issue :(
>>
>> regards,
>>
>>
>> On 12/6/07, Dan Godley <[hidden email]> wrote:
>> Hi Erik/Chaminda,
>>
>> Did you ever find a solution to this?
>>
>> I've getting the same 'prefix not bound to namespace' error message  
>> when using the separate WAR file method described here http://www.orbeon.com/ops/doc/reference-xforms-java 
>> .
>>
>> I've found that forcing a reload of the page using Shift+F5 in  
>> Firefox is the only way I can get the page to render consistently.  
>> Simply typing the URL into the address bar or doing a refresh of  
>> the page will either fail every time, or enter into a sequence  
>> where the page will render on the first call, then fail on the  
>> second (as described by Chaminda).
>>
>> Any idea what could be going on here?  I'm using version  
>> 3.6.0rc1.200712040706.
>>
>> Many thanks,
>>
>> Dan
>>
>> Dan Godley
>> Standards Developer
>> Origo Services Ltd
>>
>>
>> -----Original Message-----
>> From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik  
>> Bruchez
>> Sent: 26 November 2007 23:11
>> To: [hidden email]
>> Subject: Re: [ops-users] XML Parsing Error: prefix not bound to a  
>> namespace
>>
>> Chaminda,
>>
>> It seems in that XML that the namespace declaration for the prefix  
>> "xsi" is missing so that document cannot be parsed.
>>
>> I assumed you are not producing this document, but Orbeon Forms is,  
>> right? If it is, then it seems to be Orbeon Forms's fault. Now the  
>> question is how can we reproduce this to fix it?
>>
>> -Erik
>>
>> On Nov 26, 2007, at 2:53 AM, Chaminda Amarasinghe wrote:
>>
>> > Hi Falks,
>> >
>> > Im getting following error, The request goes to servlet and servlet
>> > does a serverside forward to a xhtml. Output is following error  
>> msg in
>> > yellow background. Any Help;
>> >
>> >
>> > XML Parsing Error: prefix not bound to a namespace
>> > Location: http://localhost:8080/my-app/someAction.htm
>> > Line Number 1, Column 39:
>> >
>> > <?xml version="1.0" encoding="utf-8"?><null xsi:nil="true"/>
>> > --------------------------------------^
>> >
>> > --
>> > Chaminda Amarasinghe,
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.com/
>>
>>
>> E-mail disclaimer
>>
>> The information in this e-mail is sent in confidence for the  
>> addressee only and may be legally privileged. Unauthorised  
>> recipients must preserve this confidentiality and should please  
>> advise the sender immediately of the error in transmission and then  
>> delete this e-mail. If you are not the intended recipient, any  
>> disclosure, copying, distribution or any action taken in reliance  
>> on its content is prohibited and may be unlawful.
>>
>> Origo Services Limited accepts no responsibility for any loss or  
>> damage resulting directly or indirectly from the use of this e-mail  
>> or the contents.  It is your responsibility to scan for viruses.  
>> Origo Services Limited reserves the right to monitor e-mails sent  
>> to or from addresses under its control.  When you reply to this e-
>> mail, you are consenting to Origo Services Limited monitoring the  
>> content of the e-mails you send to or receive from Origo Services  
>> Limited.  If this e-mail is non-business related Origo Services  
>> Limited is not liable for any opinions expressed by the sender.  
>> The contents of this e-mail are protected by copyright.  All rights  
>> reserved.
>>
>> Origo Services Limited is a company incorporated in Scotland  
>> (company number 115061) having its registered office at 4th floor,  
>> Saltire Court, 20 Castle Terrace, Edinburgh EH1 2EN.
>>
>>
>>
>> --
>> 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
>>
>>
>>
>> --
>> Chaminda Amarasinghe,
>> E-mail disclaimer
>>
>> The information in this e-mail is sent in confidence for the  
>> addressee only and may be legally privileged. Unauthorised  
>> recipients must preserve this confidentiality and should please  
>> advise the sender immediately of the error in transmission and then  
>> delete this e-mail. If you are not the intended recipient, any  
>> disclosure, copying, distribution or any action taken in reliance  
>> on its content is prohibited and may be unlawful.
>> Origo Services Limited accepts no responsibility for any loss or  
>> damage resulting directly or indirectly from the use of this e-mail  
>> or the contents.  It is your responsibility to scan for viruses.  
>> Origo Services Limited reserves the right to monitor e-mails sent  
>> to or from addresses under its control.  When you reply to this e-
>> mail, you are consenting to Origo Services Limited monitoring the  
>> content of the e-mails you send to or receive from Origo Services  
>> Limited.  If this e-mail is non-business related Origo Services  
>> Limited is not liable for any opinions expressed by the sender.  
>> The contents of this e-mail are protected by copyright.  All rights  
>> reserved.
>>
>> Origo Services Limited is a company incorporated in Scotland  
>> (company number 115061) having its registered office at 4th floor,  
>> Saltire Court, 20 Castle Terrace, Edinburgh EH1 2EN.<debug.txt>
>>
>> --
>> 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 for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
--
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
OW2 mailing lists service home page: http://www.ow2.org/wws