[Zope-dev] can't put <!--#BCODE --> in dtml
Eron Lloyd
lloyd@lancaster.lib.pa.us
11 Apr 2002 20:47:15 -0400
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.
Regards,
Eron
On Thu, 2002-04-11 at 04:01, Yuan-Chen Cheng wrote:
>
> 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)
>
>
>
>
> _______________________________________________
> Zope-Dev maillist - Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope )
> ---
> [This E-mail scanned for viruses by Declude Virus]
>
>
---
[This E-mail scanned for viruses by Declude Virus]