CFXML error

Description

This lead to an error
The reference to entity "type" must end with the ';' delimiter
ACF10 works well. and display: /CFFileServlet/_cf_image/_cfimg-5600451087227806977.png

https://www.bennadel.com/blog/1890-getting-the-image-src-of-coldfusions-cfimage-writetobrowser-temporary-image-with-cfxml.htm

Environment

None

Activity

Show:
Pothys - MitrahSoft
December 15, 2020, 6:00 PM

I've checked this ticket with lucee latest build 5.3.8.121-SNAPSHOT. This issue was fixed on that version.

Zac Spitzer
December 24, 2020, 5:39 AM

Michael Offner
January 8, 2021, 8:14 PM

this is causing LDEV-3211

Michael Offner
January 8, 2021, 9:24 PM

The fix for this ticket was invalid, it enabled the HTML parser instead of the XML parser, because the XML parser could not parse the content that looks like this:

but that is not “valid” xml, valid XML looks like this

 

the Jira workflow does not allow to revert that ticket status, but we must reject that ticket. A workaround is to use the function HTMLParse

Michael Offner
January 8, 2021, 9:57 PM

reverted the change of and added the attribute/argument “lenient“ to the tag XML and the function XMLParse

Fixed

Assignee

Michael Offner

Reporter

Guardian

Priority

Major

Labels

Fix versions

Affects versions