AndyJarrett

CFXML and CF tags gotcha

As i'm preparing to type this post what I'm about to says is so obvious its annoying. When you are using the <cfxml> tag you cannot have xml tags that begin with "cf" as Coldfusion tries to parse them. For example:

my data

Would fail with something like "A tag starting with 'CF' has been detected. This tag is not supported by this version of ColdFusion. Please verify your typo and try again.Unknown tag: cftest. "

The workaround: Modify the tag from <cftest> to <ctest> my dataThe afterwards get regex to make the changes.To explain the regex.