Answered
isValid('xml', myXML) BUG!
isValid('xml' should return a boolean true/false, but if the
xml is bad it throws an error instead. Anyone else have this issue
or find a workaround other than using isXML which works?
<cfsavecontent variable="myXML">
<parent>
<child>A&L</child>
</parent>
</cfsavecontent>
<cfoutput>
isXML: #isXML(myXML)#<br>
isValid: #isValid('xml',myXML)#
</cfoutput>
<cfsavecontent variable="myXML">
<parent>
<child>A&L</child>
</parent>
</cfsavecontent>
<cfoutput>
isXML: #isXML(myXML)#<br>
isValid: #isValid('xml',myXML)#
</cfoutput>
