[Zope-dev] can't put !--#BCODE -- in dtml

2002-04-11 Thread Yuan-Chen Cheng
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

Re: [Zope-dev] can't put !--#BCODE -- in dtml

2002-04-11 Thread Matt Behrens
[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

Re: [Zope-dev] can't put !--#BCODE -- in dtml

2002-04-11 Thread Eron Lloyd
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.