You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Mathias Walter <ma...@gmx.net> on 2008/01/21 11:00:07 UTC
[Trinidad] PPR error with XHTML JSPs
Hi,
I'm using XHTML inside JSPs. If I include the XML processing instruction
"<?xml version="1.0" encoding="iso-8859-1"?>" at the top of the page,
partial triggers won't work.
Firebug displays:
"Invalid PPR response. The response-headers were:\nServer:
Apache-Coyote/1.1\nX-Powered-By: JSF/1.2\nCon..."
and the PPR result is:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?xml version="1.0" ?>
<?Tr-XHR-Response-Type ?>
Conclusion: PPR should not add the XML processing instruction if it's
already present.
--
Kind regards,
Mathias
RE: [Trinidad] PPR error with XHTML JSPs
Posted by Mathias Walter <ma...@gmx.net>.
Hi Matthias,
> I think we had that issue already discussed here on the list.
> Can you do the following:
> -create a jira
Done: https://issues.apache.org/jira/browse/TRINIDAD-912
> -with some simple JSP (+XHTML) code inside.
>
> Since I see the "X-Powered-By: JSF/1.2" http header,
> my guess is, that you are on Trinidad 1.2.x.
> But what is the x ? :-)
What Do you mean with "x ?". Do you mean the "X-Powered"?
--
Kind regards,
Mathias
Re: [Trinidad] PPR error with XHTML JSPs
Posted by Matthias Wessendorf <ma...@apache.org>.
Hi,
I think we had that issue already discussed here on the list.
Can you do the following:
-create a jira
-with some simple JSP (+XHTML) code inside.
Since I see the "X-Powered-By: JSF/1.2" http header,
my guess is, that you are on Trinidad 1.2.x.
But what is the x ? :-)
Thanks!
Matthias
On Jan 21, 2008 2:00 AM, Mathias Walter <ma...@gmx.net> wrote:
> Hi,
>
> I'm using XHTML inside JSPs. If I include the XML processing instruction
> "<?xml version="1.0" encoding="iso-8859-1"?>" at the top of the page,
> partial triggers won't work.
>
> Firebug displays:
>
> "Invalid PPR response. The response-headers were:\nServer:
> Apache-Coyote/1.1\nX-Powered-By: JSF/1.2\nCon..."
>
> and the PPR result is:
>
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <?xml version="1.0" ?>
> <?Tr-XHR-Response-Type ?>
>
> Conclusion: PPR should not add the XML processing instruction if it's
> already present.
>
> --
> Kind regards,
> Mathias
>
>
--
Matthias Wessendorf
further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org
RE: [Trinidad] PPR error with XHTML JSPs
Posted by Mathias Walter <ma...@gmx.net>.
Hi,
> after removing
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> works....
Yes. I wrote it with other words.
--
Regards,
Mathias
>
> On Jan 21, 2008 1:50 PM, Matthias Wessendorf
> <ma...@apache.org> wrote:
> > > "Invalid PPR response. The response-headers were:\nServer:
> > > Apache-Coyote/1.1\nX-Powered-By: JSF/1.2\nCon..."
> >
> > this, from the header.
> > The RI has a context-parameter for disabling this.
> >
> > Thanks for the issue; I'll take a look.
> >
> > -Matthias
> >
> >
> > >
> > > and the PPR result is:
> > >
> > > <?xml version="1.0" encoding="ISO-8859-1" ?>
> > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > > <?xml version="1.0" ?>
> > > <?Tr-XHR-Response-Type ?>
> > >
> > > Conclusion: PPR should not add the XML processing
> instruction if it's
> > > already present.
> > >
> > > --
> > > Kind regards,
> > > Mathias
> > >
> > >
> >
> >
> >
> >
> > --
> > Matthias Wessendorf
> >
> > further stuff:
> > blog: http://matthiaswessendorf.wordpress.com/
> > sessions: http://www.slideshare.net/mwessendorf
> > mail: matzew-at-apache-dot-org
> >
>
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> mail: matzew-at-apache-dot-org
Re: [Trinidad] PPR error with XHTML JSPs
Posted by Matthias Wessendorf <ma...@apache.org>.
after removing
<?xml version="1.0" encoding="ISO-8859-1" ?>
works....
On Jan 21, 2008 1:50 PM, Matthias Wessendorf <ma...@apache.org> wrote:
> > "Invalid PPR response. The response-headers were:\nServer:
> > Apache-Coyote/1.1\nX-Powered-By: JSF/1.2\nCon..."
>
> this, from the header.
> The RI has a context-parameter for disabling this.
>
> Thanks for the issue; I'll take a look.
>
> -Matthias
>
>
> >
> > and the PPR result is:
> >
> > <?xml version="1.0" encoding="ISO-8859-1" ?>
> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > <?xml version="1.0" ?>
> > <?Tr-XHR-Response-Type ?>
> >
> > Conclusion: PPR should not add the XML processing instruction if it's
> > already present.
> >
> > --
> > Kind regards,
> > Mathias
> >
> >
>
>
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> mail: matzew-at-apache-dot-org
>
--
Matthias Wessendorf
further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org
Re: [Trinidad] PPR error with XHTML JSPs
Posted by Matthias Wessendorf <ma...@apache.org>.
> "Invalid PPR response. The response-headers were:\nServer:
> Apache-Coyote/1.1\nX-Powered-By: JSF/1.2\nCon..."
this, from the header.
The RI has a context-parameter for disabling this.
Thanks for the issue; I'll take a look.
-Matthias
>
> and the PPR result is:
>
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <?xml version="1.0" ?>
> <?Tr-XHR-Response-Type ?>
>
> Conclusion: PPR should not add the XML processing instruction if it's
> already present.
>
> --
> Kind regards,
> Mathias
>
>
--
Matthias Wessendorf
further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org