MyFaces Core
  1. MyFaces Core
  2. MYFACES-3440

Contents of CDATA blocks consumed in facelets-processing jspx/xml

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.5
    • Fix Version/s: 2.1.6
    • Component/s: None
    • Labels:
      None

      Description

      When <facelets-processing> mode is set to jspx/xml, the JSF implementation should strip the CDATA section wrappers (ie. "<![CDATA[" and "]]>"). These wrappers should not be represented in the corresponding UIComponent tree or be passed through in the rendered content.

      Currently, the CDATA section wrappers are removed, but this is implemented by removing the entire CDATA block, including any nested text content. This is not the desired behavior - ie. the text content itself should survive - only the CDATA wrapper constructs should be removed.

      See:

      http://java.net/projects/javaserverfaces-spec-public/lists/jsr344-experts/archive/2012-01/message/2

      For more details.

        Activity

        Hide
        Leonardo Uribe added a comment -

        Fixed jspx mode as discussed on jsr344-experts list

        Show
        Leonardo Uribe added a comment - Fixed jspx mode as discussed on jsr344-experts list

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            Andy Schwartz
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development