It appears as though ColdFusion MX has introduced a new bug with the CFDEFAULTCASE tag. In previous versions of ColdFusion (CF 5), the following code was valid:
x is 1
As of CFMX, the CFDEFAULTCASE tag with the trailing slash causes the following error:
Invalid CFML construct found on line 19 at column 18. ColdFusion was looking at the following text: />
The CFML compiler was processing:
a cfdefaultcase tag beginning on line 8, column 4. a cfdefaultcase tag beginning on line 8, column 4.
Of course this is easy to work around - just don''t use the CFDEFAULTCASE tag the way I''ve shown above. However, this makes me wonder whether CFMX has problems with other tags that are coded with the trailing slash. I know that CFMODULE works ok, but it would be interesting to test other CFML tags to see what happens...