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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to