I'm working an application that works perfectly on CF 9 but since upgrading to CF 10 it doesn't work as it's expected. I don't get any errors and that makes it harder to debug.
There is a function that generates a HTML source for a e-news and then it converts it to XML. The code search through the XML and update the content from a database.
I couldn't find any solution to fix my problem yet.
I think the problem starts with this line:
<cfset result = XMLSearch(XMLToSearch, "//*[@*='articleTitle']") /> XMLToSearch is the converted version of the HTML source templateMarker is the class of the tag I'm trying to update the content.
in CF 9 it returns an array with 1 item but in CF 10 it returns an array with 3 items for some reason.
Here is the copy of the XMLToSearch (toString): http://pastebin.com/Qm8eibtV
Thanks in advance.
No comments:
Post a Comment