Getting XML parse error in coldfusion. Can the packet returned be validated?

Posted by jeff on Stack Overflow See other posts from Stack Overflow or by jeff
Published on 2010-04-08T01:49:14Z Indexed on 2010/04/08 1:53 UTC
Read the original article Hit count: 467

Filed under:
|

Getting an error on occasion on a specific CF page. Offending code listed below. Very odd because when I rebooted CF it went away. Can the XML be checked via XMLValidate to prevent this from happening?

Is this some sort of CF bug since the error disappeared after reboot of CF? I have a feeling that the error will resurface at some point.

An error occured while Parsing an XML document. The element type "meta" must be terminated by the matching end-tag "".

<cfhttp method="get" url="http://bs.mysite.com/webservice/rec/get.sbs?customerId=345S4BE8x&itemId=#product_id#&number=20&ruleId=#product.location_tab_accessories#">


<cfset result = xmlParse(cfhttp.FileContent)> <cfset recs = xmlSearch(result, "/result/thsite/site/itemId")>

© Stack Overflow or respective owner

Related posts about coldfusion

Related posts about Xml