[Zope] <dtml-comment> doesn't? Please fix... ;-)

T.J. Mannos MannosTJ@slcc.edu
Tue, 5 Sep 2000 18:50:04 -0600


Andrew,

Did you see my solution to this?

<!--#comment

this is all commented stuff.
<dtml-in "invalid_dtml_syntax"@#$#@%^>
  <dtml-do wreak_havoc>
</dtml-unless>

--></dtml-comment>

I also posted a patch that would allow you to use syntax like this:
<!--#c
	<dtml-with bad_code>
		This neither renders nor preprocesses.
	</dtml-in>
-->

Same effect, but a bit cleaner.  If you'd like a copy of that patch, send me
an e-mail.

Take care,
T.J.

-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
Andrew Kenneth Milton
Sent: Monday, September 04, 2000 5:11 PM
To: Kip Rugger
Cc: zope@zope.org
Subject: Re: [Zope] <dtml-comment> doesn't? Please fix... ;-)

Won't work, the container will still be parsed for correctness at 'save'
time.
The problem isn't getting nested comments per se, we already have that.
The problem is to completely ignore the contents of the comment tag whilst
still allowing nested comments.