You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Krashan Brahmanjara (JIRA)" <de...@myfaces.apache.org> on 2014/05/29 11:42:07 UTC

[jira] [Created] (MYFACES-3898) Response returns multiple headers

Krashan Brahmanjara created MYFACES-3898:
--------------------------------------------

             Summary: Response returns multiple <?xml version='1.0' encoding='utf-8'?> headers
                 Key: MYFACES-3898
                 URL: https://issues.apache.org/jira/browse/MYFACES-3898
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 2.2.3, 2.2.4-SNAPSHOT
            Reporter: Krashan Brahmanjara


For complex pages Myfaces implemetation return response with many xml headers. This is not problem for Firefox but Internet Explorer sometimes cant render this pages and show it as plain xml

Current Myfaces response example:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"><head><link (...)

This problem doesn't occurs for Mojarra implementation.
This implementation returns response :
?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml"><head><link href=(...)



--
This message was sent by Atlassian JIRA
(v6.2#6252)