The problem occurs when you have two class names applied to the same element, and the second class name matches the right end of the first class name case insensitively. Obviously some bad parsing happening inside the CFDocument engine.
Examples:
<[element] class="firstClass class">Content</[element]>
Or
<[element] class="firstClass Class">Content</[element]>
Or even
<[element] class="firstClass stclass">Content</[element]>
Would produce the error, but:
<[element] class="firstClass class2">Content</[element]>
Or
<[element] class="firstClass secondClass">Content</[element]>
Or
<[element] class="firstClass Classs">Content</[element]>
Would not. Since there is a workaround Adobe won't bother fixing this, nor would they bother publicizing this in any sort of documentation, just leave it up to their users to somehow know all the quirks of their application. I hope publishing this made your day easier.
A few things that are driving me away from ColdFusion are:
- Adobe's disinterest in fixing long standing bugs, and if there is a work-around, even if it involves their users needing to stand on their head and type with their toes, then it might as well be labeled "Won't Fix Ever"
- No documentation about what work-arounds exist for known issues, except on their bug report pages, which are a bitch to navigate in any useful way.
- The constant movement of their documentation, including live doc pages and bug reports. It's so frustrating to find a forum with a link that says, "Here's the work around" with a link to a page at Adobe that no longer exists. Couldn't you at least leave us a re-direct Adobe?
- This list could go on and on, but would mostly be re-hashes of the first point. Adobe, please fix broken things before adding more new features that less than 5% of your users care about.