[richfaces-issues] [JBoss JIRA] Created: (RF-7239) ajax response XML parse error with script code
Dave Chen (JIRA)
jira-events at lists.jboss.org
Sun May 24 08:56:56 EDT 2009
ajax response XML parse error with script code
----------------------------------------------
Key: RF-7239
URL: https://jira.jboss.org/jira/browse/RF-7239
Project: RichFaces
Issue Type: Bug
Components: core
Affects Versions: 3.3.0
Environment: Richfaces 3.3.0. Tomahawk1.1.8, sun JSF ri: 1.2.12. JBoss 5.0.1.GA, IE7
Reporter: Dave Chen
Header Ajax-Response not found, search in <meta>
debug[20:32:50,430]: Header Ajax-Expired not found, search in <meta>
warn[20:32:50,430]: No ajax response header
debug[20:32:50,440]: Header Location not found, search in <meta>
debug[20:32:50,440]: replace all page content with response
debug[20:32:50,440]: setup custom document.open method
debug[20:32:50,471]: exception during write page content undefined
error[20:32:50,481]: Error parsing responseXML Parsing Error: can not be empty.
Location: Line Number 27, Column 123:
<script type="text/javascript" language="Javascript">function dpf(f) {var adp = f.adp;if (adp != null) {for (var i = 0;i < adp.length;i++) {f.removeChild(adp[i]);}}};function apf(f, pvp) {var adp = new Array();f.adp = adp;var i = 0;for (k in pvp) {var p = document.createElement("input");p.type = "hidden";p.name = k;p.value = pvp[k];f.appendChild(p);adp[i++] = p;}};function jsfcljs(f, pvp, t) ..... </script>
Script code is XML CDATA, and must be enclosed in <![CDATA] ..... ]]> to prevent being parsed.
I do not know which component generates the javascript code.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list