Thanks Dave,
But the kicker is that ' is not coming from my code or replacements.
It is the exact error thrown:

Reference to undefined entity "'".
 
The error occurred in D:\WebSites\mystuff\Members\matches.cfm: line 365

363 :                   <!--- try creating xml dom string --->
364 :                   <cfxml variable="xMatches">
365 :                           <cfoutput>#variables.Matches#</cfoutput>
366 :                   </cfxml>
367 :   

There are a few instances in my code where I'm using UCase() around names to
build the xml up..  I wonder if that is where and why this is choking.. 

Actually, just confirmed I had a UCase(XMLFormat(string)) and changing it to
XMLFormat(UCase(string)) solved the problem.

Thanks for pointing me in the right direction!

-Rob
         

-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 05, 2006 8:55 AM
To: CF-Talk
Subject: RE: Reference to undefined entity "&APOS;".

> I'm running CFMX 6.1 (Standard) updater 1. I have some lengthy code 
> that builds a valid XML structure, and even use XMLFormat() on text 
> that I think might choke the process, but when <CFMXL> tries to make 
> it into a DOM it chokes with the above error:  XmlProcessException: 
> Reference to undefined entity "&APOS;".
> 
> I know &APOS; isn't in HTML, but is valid for XML, but I've even tried 
> stripping out any ' characters I can find replacing them with &#39; as 
> a possible workaround.

I think that the valid character entity you want is "&apos;", not "&APOS;".
XML is case-sensitive.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized instruction
at our training centers in Washington DC, Atlanta, Chicago, Baltimore,
Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228519
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