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

Reply via email to