No.
I was a strong advocate for this behavior being added to ACF in the
first place and had to fight very hard to have it included - because
of objections on the grounds of performance, complexity and
counter-intuitive behavior. All very good arguments from a number of
parties both within Adobe and within the community.
I intended it to support DSLs - in the way that cfSpec uses it - where
*all* non-CF tags in a file were 'special'.
The reason I think Adobe's behavior is strange is because it's not
consistent with a named import:
<cfimport prefix="foo" .. />
<foo:what />
If what.cfm does not exist, you get a run time error.
<cfimport prefix="" .. />
<what />
I think that should behave the same way: no what.cfm => error.
The empty prefix should not lead to unique semantics.
--
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
What?
I didn't say anything about ACF9.
Please re-read my post.
--
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/
That the result written to the response stream can be interpreted as
HTML by a certain client has nothing to do with this.
/micha
2010/10/20, Pete Oliver-Krueger <pe...@millionmunkeys.net>:
Also, For example, in Railo archives you might want to include an image which you can't do at the moment. You could solve this really easily:
<cfimport taglib="htmltags" prefix="" />
<img src="someimage.png" />
You then have a img.cfm that turns the image into a binary into the html page itself, so it gets displayed.
Ok, that is one use case, but I have also used it for form field replacement, <a href=""> url parsing etc. It IS a handy method
Just my 2 Russian Copecks.
MD
Mark Drew
Railo Technologies UK
Professional Open Source
skype: mark_railo
email: ma...@getrailo.com
gtalk: ma...@getrailo.com
tel: +44 7971 85 22 96
web: http://www.getrailo.com
ignoreNonExistentTags=
But if you're going to implement this you might as well make true the
default and have compatibility with ACF. Just with the caveat that it
will be slower than ignoreNonExistentTags="false" (right?).
ignoreMissingTags=
would be even clearer.
/micha
2010/10/22, Sean Corfield <seanco...@gmail.com>:
Ugh! Yeah, you're right. ACF throws an exception if a tag is missing
for a non-empty prefix (which is the right *default* behavior).
Perhaps the default for ignoreMissingTags= should be true if prefix=""
and false if prefix= non-empty? That would be ACF-compatible and still
provide control over the behavior.
/micha
2010/10/22, Sean Corfield <seanco...@gmail.com>:
I demand you add this attribute!!
That would be awesome!
MD
Sent from my iPhone