hi, Can't put !--#BCODE -- in dtml, but !-- #BCODE -- is okay. Is this correct. Thank you very much. Yuan-Chen Cheng The traceback is here: Unexpected tag, for tag !--#BCODE --, on line 8 of ttt Traceback (innermost last): File /home/ycheng/zope/zope/lib/python/ZPublisher/Publish.py, line
[For future reference, questions like this one should go to [EMAIL PROTECTED] [EMAIL PROTECTED] is for discussion of development of Zope. Replies/followups directed there.] Yuan-Chen Cheng wrote: Can't put !--#BCODE -- in dtml, but !-- #BCODE -- is okay. The !--# syntax is an old DTML
Zope thinks you're trying to use an ancient version of DTML. Make sure your comments are syntactically correct (!-- comment --) and try to avoid using !-- #(comment) -- anywhere as this could trip you up down the road. That format for variable insertion is still supported for legacy reasons.