ICEfaces
  1. ICEfaces
  2. ICE-6443

XML declaration and DOCTYPE are being rendered as part of the portlet's rendered markup by DOMResponseWriter

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Liferay 6.0.5 + PortletFaces Bridge 2.0.0 + ICEfaces 2.0.0

      Description

      This is the ICEfaces 2.0.0 counterpart to the following issue:
      http://jira.portletfaces.org/browse/BRIDGE-50

      The Mojarra JSF implementation has a vendor-specific com.sun.faces.facelets.compiler.UIInstructions class that render the following markers:

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

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      Need ensure that such markers are not rendered to the response, as they should not be rendered as part of a portlet, since portlets are simply HTML fragment that are aggregated together into a single HTML document by the portlet container.

        Activity

        Hide
        Deryk Sinotte added a comment -

        Added logic to exempt XML processing of the preamble elements when running in a portal.

        Show
        Deryk Sinotte added a comment - Added logic to exempt XML processing of the preamble elements when running in a portal.

          People

          • Assignee:
            Deryk Sinotte
            Reporter:
            Neil Griffin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: