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

                 Key: MYFACES-3440
                 URL: https://issues.apache.org/jira/browse/MYFACES-3440
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 2.1.5
            Reporter: Andy Schwartz


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to