myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathias Walter" <mathias.wal...@gmx.net>
Subject [Trinidad] PPR error with XHTML JSPs
Date Mon, 21 Jan 2008 10:00:07 GMT
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


Mime
View raw message