I'm running CFMX 6.1 with the latest cumulative update from Macromedia 
(we installed the updater patch about a month ago).  Recently, we've hit 
a problem with parsexml() that I cannot figure out.  It seems to choke 
on certain entity references, but not all of them.  I've got some test 
code to illuminate the problem:

These work (just a few examples):
<cfset parsedXml = xmlParse("<rootnode>&amp;</rootnode>")>
<cfset parsedXml = xmlParse("<rootnode>&lt;</rootnode>")>
<cfset parsedXml = xmlParse("<rootnode>&gt;</rootnode>")>

These bomb (again, just a few examples):
<cfset parsedXml = xmlParse("<rootnode>&nbsp;</rootnode>")>
<cfset parsedXml = xmlParse("<rootnode>&mdash;</rootnode>")>
<cfset parsedXml = xmlParse("<rootnode>&pound;</rootnode>")>

I've searched the web and have found precious little information about 
this.  I suppose it could be related to the cumulative updater, but that 
somehow seems unlikely.

Any help is appreciated.

Ben Mueller
Sr. Software Engineer
Cognitive Arts

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201599
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to