I think if you tested with your exact(*) test code, then it
would all work
fine. I have just tested this.
However I reckon your sample code is just a simplification of
the code you
have erroring, and the problem is something peculiar to the
rest of the
code that you've factored out.
Post the exact code.
Which version of CF are you running?
(*) Allowing for correcting the typos (your closing
tag). Also <cfcomponent> has no NAME attribute, so you
should lose that.
It doesn't generally cause problems as <cfcomponent>
will allow any
nonsense attributes, but I believe some people have had some
calling CFC instances remotely with a NAME attribute.