Title:
Issue with the XMLParse() function after update to Java 8.241 (possibly introduced in 8.231)
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/Duplicate
Reporter/Name(from Bugbase): Miguel F. / ()
Created: 02/18/2020
Versions: 11.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: 11,0,15,311399 / 2018.0.07.316715
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Win 2012 Server x64
Vote Count: 1
Problem Description: We've noticed an issue with XMLParse() after updating Java to 8.241. This is running on ColdFusion 11, Windows Server 2012 R2. It works fine on previous version of Java. The issue appears to be with a period followed by a space `. ` within any of the XML tags. When that text is encountered within the tags XMLParse() throws an error. What's also strange is that the error reports being a permission issue trying to read a file and the file name appears to be the XML contents (which obviously do not exist as a file).
Steps to Reproduce: See provided code. Basically use XMLParse() function on any XML that contains a period followed by a space '. ' within the XML tags.
Actual Result: This error is thrown:
access denied ("java.io.FilePermission" "X:\test\ <?xml version="1.0" ?> <extension type="Component" subType="Icon Grid" hasBody="0"> <attributeset name="Icon Grid Content" container="Basic"> <attribute name="iconGridBorderStyle" label="Border Style" hint="The bordered option will show a border around each item. The default is unbordered." type="radiogroup" defaultValue="unbordered" required="false" validation="" regex="" message="" optionList="Bordered^Unbordered" optionLabelList="bordered^unbordered" \> <\attributeset> <\extension> " "read")
Expected Result: XML is parsed correctly.
Any Workarounds: None.
Attachments:
Comments: