[prev in list] [next in list] [prev in thread] [next in thread]
List: zope-coders
Subject: [Zope-Coders] RE: [ZC] 370/ 2 Reject "Remove validation of <dtml-comment> to improve documenting met
From: "Trevor Toenjes" <zope () toenjes ! com>
Date: 2002-04-29 18:19:40
[Download RAW message or body]
> This is a known, and understood, limitation with dtml-comment,
> not a defect.
Hence, why I didnt file as a bug.
So where is the python that parses DTML-Comment to not render?
This could be used to insert in the validation code. right?
-Trevor
> Contributors wishing to propose new code features are encouraged
> to participate with the Zope 2.6 community contribution process.
> ________________________________________
> = Request - Entry #1 by Anonymous User on Apr 29, 2002 1:49 pm
>
> To my surprise, Zope tries to validate commented out code in the
> the <dtml-comment> block.
> Therefore, one *cannot* write an example as:
> When called from <dtml-in Catalog>, this method renders...
>
> Zope looks for a </dtml-in>, even though this is in the
> dtml-comment block. This defeats the purpose of properly
> documenting DTML with DTML snippets to explain logic in methods, etc.
>
> Zope does not execute anything in dtml-comment.
> Therefore, it should not validate anything in dtml-comment.
> ==============================================================
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic