We're updating the issue view to help you get more done. 

XmlSearch returning empty arrays after 5.3.1.95 update

Description

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:

1 2 3 4 5 6 <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.

Environment

Windows Server 2016 w/ IIS 10

Status

Assignee

Michael Offner

Reporter

Landon-James Hall

Labels

Sprint

None

Fix versions

Priority

New