oops, spoke too soon:
i'm getting this error now when the isXML udf is used:
08:19:27.027 - Expression Exception - in
/var/www/html/reactor/core/object.cfc : line 347
Document root element is missing.
<cffunction name="isXML" returnType="boolean" output="no">
<cfargument name="data" type="string" required="yes">
<!--- try catch block --->
<cftry>
<!--- try to parse the data as xml --->
(line: 347) <cfset xmlparse(data)>(347 /)
<!--- if xmlparse() fails, it is not xml --->
<cfcatch type="any">
<cfreturn false>
</cfcatch>
</cftry>
<cfreturn true>
</cffunction>
which is called by object.cfc in a couple places:
<cfif IsXML(fieldTag) AND StructKeyExists(fieldTag.XmlAttributes, "alias") >
<cfif IsXML(fieldTag) AND StructKeyExists(fieldTag.XmlAttributes, "sequence") >
On 4/7/06, Daryl <[EMAIL PROTECTED]> wrote:
> Running on CFMX 6.1, I got the isXML function not found error.
> I used this isXML UDF to get around the problem
>
> http://www.cflib.org/udf.cfm?ID=993
>
-- Reactor for ColdFusion Mailing List -- [email protected]
-- Archives at http://www.mail-archive.com/reactor%40doughughes.net/