Fixed
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Landon-James Hall
Landon-James HallPriority
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
None
Created 25 March 2019 at 19:07
Updated 22 January 2024 at 23:47
Resolved 25 March 2019 at 22:29
After the update to 5.3.1.95, XmlSearch is returning empty arrays even though the elements exist. The same code worked before the update. My version of Lucee before updating was 5.2.9.31.
Example:
<cfset xmlString = "<test:Response xmlns:test='https://test.com'> <test:Success> <test:user>testUser</test:user> </test:Success> </test:Response>"> <cfdump var="#xmlString#" label="XmlString"> <cfset xmlParse = xmlParse(xmlString)> <cfdump var="#xmlParse#" label="XMLParse"> <cfset searched = xmlSearch(XMLParse, "test:Response/test:Success/test:user")> <cfdump var="#searched#" label="searched">
I've also attached a screenshot of the output of the code above.