Cut'n'paste behavior for includes occurs only in languages that process the include prior to semantic analysis, e.g., C's preprocessor. Which "pure runtime language" are you referring to that has includes that behave just like cut'n'paste?

I think you are taking the cut'n'paste thing too technically. Prior to CFMX, CFML had no problems with includes because they happened as runtime. I'd go on to say that if CFCs were implemented using the architecture of CF 5, we wouldn't even be having this discussion and I believe that BlueDragon shows that be true since it has a similar architecture to CF 5.

It is not syntactically valid:

Context validation error for tag cfargument.
The tag must be nested inside a CFFUNCTION tag.
The error occurred in /home/tomcat/webapps/cf61/null/naked.cfm: line 1
1 : <cfargument name="foo">

That doesn't mean it is not syntactically valid; that simply means CFMX doesn't consider it to be semantically valid. And again, I consider that a bug.

Please give a concrete example - I'm not sure how including a binary shows cut'n'paste behavior and I'd really like to understand your argument.

Take a random binary file and split it into two parts. Next create a CFM that includes the two separate parts in the correct order. Whitespace issues aside, the complete binary file will be served correctly.

-Matt

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to