This content has been marked as final.
Show 1 reply
-
1. Ajax call and XML Validation error with special chars like & (amp)
tomaszk Feb 17, 2011 10:11 AM (in response to tomaszk)We have resolved the issue by switching to NEKO parser, instead of NONE
<context-param>
<param-name>org.ajax4jsf.xmlparser.ORDER</param-name>
<param-value>NEKO</param-value>
</context-param>
<context-param>
<param-name>org.ajax4jsf.xmlparser.NEKO</param-name>
<param-value>.*\..*</param-value>
</context-param>
As it turned out NEKO parser purifies HTML inputs and properly encodes invalid xml characters, while NONE parser does not.
The hint came from Nick Belaevski from Richfaces team, after I put the bug on JIRA: