[richfaces-issues] [JBoss JIRA] Created: (RF-10554) Special characters not being escaped in AJAX responses causing XML response crash in

Tomasz K (JIRA) jira-events at lists.jboss.org
Thu Feb 17 08:22:13 EST 2011


Special characters not being escaped in AJAX responses causing XML response crash in 
-------------------------------------------------------------------------------------

                 Key: RF-10554
                 URL: https://issues.jboss.org/browse/RF-10554
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 3.3.3.Final
         Environment: richfaces 3.3.3 
myfaces 1.2.9 
facelets 
            Reporter: Tomasz K


An ajax response is not updated on clientside if it contains special characters like & (amp) (for example data from database may have this special character).
This causes AJAX response crash, while the XML is invalid and could not be parsed (message visible in Firebug):
XML Parsing Error: not well-formed

This is not connected with ajax4jsf parser, while we use xmlparser NONE:
 
<context-param>
        <param-name>org.ajax4jsf.xmlparser.ORDER</param-name>
        <param-value>NONE</param-value>
    </context-param>
    <context-param>
        <param-name>org.ajax4jsf.xmlparser.NONE</param-name>
        <param-value>.*\..*</param-value>
</context-param>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list