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

Yuan-Chen Cheng ycheng@oss.sinica.edu.tw
Thu, 11 Apr 2002 16:01:40 +0800


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
150, in publish_module
File /home/ycheng/zope/zope/lib/python/ZPublisher/Publish.py, line
114, in publish
File /home/ycheng/zope/zope/lib/python/Zope/__init__.py, line 158,
in zpublisher_exception_hook (Object: ttt) File
/home/ycheng/zope/zope/lib/python/ZPublisher/Publish.py,
line 98, in publish File
/home/ycheng/zope/zope/lib/python/ZPublisher/mapply.py,
line 88, in mapply (Object: manage_edit) File
/home/ycheng/zope/zope/lib/python/ZPublisher/Publish.py,
line 39, in call_object (Object: manage_edit) File
/home/ycheng/zope/zope/lib/python/OFS/DTMLDocument.py,
line 79, in manage_edit (Object: ttt) File
/home/ycheng/zope/zope/lib/python/DocumentTemplate/DT_String.py,
320, in munge (Object: ttt) File
/home/ycheng/zope/zope/lib/python/DocumentTemplate/DT_String.py,
line 340, in cook (Object: ttt) File
/home/ycheng/zope/zope/lib/python/DocumentTemplate/DT_String.py,
line 162, in parse (Object: ttt)
File /home/ycheng/zope/zope/lib/python/DocumentTemplate/DT_String.py,
line 58, in parse_error (Object: ttt)
Document Template Parse Error: (see above)