tal:omit-tag should be processed before tal:attributes
Bug #430662 reported by
Wichert Akkerman
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Invalid
|
Wishlist
|
Unassigned | ||
Zope 3 |
Won't Fix
|
Undecided
|
Unassigned | ||
grok |
Won't Fix
|
Undecided
|
Unassigned | ||
zope.tal |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Currently TAL handles tal:attributes before tal:omit-tag. This has two problems: it is a needless performance penalty (omit-tag will cause the work done by attributes to be removed), and it can be problematic in situations where you want to omit the tag if it is not possible to set an attribute on it for some reason. This issue was also noticed by Tobias in 2008 (see the comment at the bottom of http://
Changed in zope3: | |
status: | New → Won't Fix |
Changed in zope2: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in grok: | |
status: | New → Won't Fix |
To post a comment you must log in.
For refererence: chameleon.zpt processes tal:omit-tag before tal:attributes, which has not revealed any problems.