Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Rilwan
RilwanPriority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
Created 12 March 2021 at 11:00
Updated 1 July 2023 at 15:36
Using Lucee Version: 5.3.6.68
Adobe ColdFusion Version: CF11 and CF18
We experienced a StackOverflowError when recursively trying to convert an Xml document to a struct XmlToStruct(any), because had an if statement with: StructKeyExists(xmlData, "xmlRoot") which if true extracted the xmlRoot is passed it into XmlToStruct(any) again, unlike ACF the Xml Elements have XmlRoot.
We solved the StackOverflowError with IsXmlDoc(any).
We would like to know if this is a defect or expected behavior