This content has been marked as final. Show 4 replies
"An error occured while Parsing an XML document. Content is not allowed
That means you are somehow creating illegal text before the XML prolog
which is the '<?xml version="1.0" encoding="utf-8"?>' line. This must
be the first line of a well formated XML document, nothing is allowed
Thank Ian for the reply.
Going by what Ian stated, I need to find another means in which to determine if an xml array is defined or not, because the xml that I am parsing is being provided by a third party. Are there any suggestions, since currently isdefined(xml-array) doesn't work, and neither does <cfparam name="xml-array" default="" type="xml" />?
Help me, help me, pleeeease! lol.
Won't using a CFTY/CFCATCH around the attempted access work to see if it is defined?
Since you are dealing with an array of structures, can you use the StructKeyExists() method to figure out if the element is present instead of using isDefined?