[richfaces-issues] [JBoss JIRA] Closed: (RF-7239) ajax response XML parse error with script code
Alexander Dubovsky (JIRA)
jira-events at lists.jboss.org
Mon May 25 06:08:56 EDT 2009
[ https://jira.jboss.org/jira/browse/RF-7239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Dubovsky closed RF-7239.
----------------------------------
Assignee: Nick Belaevski (was: Alexander Dubovsky)
> 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
> Assignee: Nick Belaevski
>
> 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