[richfaces-issues] [JBoss JIRA] Resolved: (RF-10554) Special characters not being escaped in AJAX responses causing XML response crash in
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Thu Feb 17 08:41:13 EST 2011
[ https://issues.jboss.org/browse/RF-10554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Belaevski resolved RF-10554.
---------------------------------
Assignee: Nick Belaevski
Resolution: Won't Fix
Use NEKO or TIDY filter to be able to work with invalid XML response.
> 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
> Assignee: Nick Belaevski
>
> 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