I am getting an error from a page saying that cfcatch needs
to be withing cftry tags, which is. I am assuming that somehow it's
thinking that cftry tags are closing before they are. Here's my
code:
<cftry>
<cfif not isXML(cfhttp.fileContent)>
<cfthrow message="The remote service did not return valid
XML.">
</cfif>
<cfset xmlResult = xmlParse(cfhttp.fileContent)>
<cfif structKeyExists(xmlResult, "dataroot") and
structKeyExists(xmlResult.dataroot,"jobs")>
<cfloop index="x" from="1"
to="#arrayLen(xmlResult.dataroot.jobs)#">
<cfset node = xmlResult.dataroot.jobs>
<cfcatch></cfcatch>
</cftry>
<CFTRY>