|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
Odd ACF 8 v 9 issue
In ACF 9, I had:John M Bliss 04/16/12 03:49 P > In ACF 9, I had:Jochem van Dieten 04/17/12 03:52 A In ACF 9, I had: xmlparse(cfhttp.filecontent)['top-level-node'] ...and it worked fine but ACF 8 threw a syntax error at the [ until I did this: <cfset myxmlparse = xmlparse(cfhttp.Filecontent)> myxmlparse['top-level-node'] Is that a known issue? -- John Bliss - http://about.me/jbliss > In ACF 9, I had: > xmlparse(cfhttp.filecontent)['top-level-node'] > > ...and it worked fine but ACF 8 threw a syntax error Support for square braces directly after parenthesis was one of the syntax improvements in CF 9. Jochem -- Jochem van Dieten http://jochem.vandieten.net/
|
June 19, 2013
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||