[Zope] <dtml-else> and 'unexpected end tag'

Chris Withers chrisw@nipltd.com
Fri, 18 Aug 2000 11:50:34 +0100


Squishdot_manage_postings.dtml contains this weird bit of DTML:

<dtml-else reviewed>   
<FONT COLOR="RED">*</FONT>    
</dtml-else reviewed>    

Is this a weird bit of syntax that's allowed in DTML or is it a bug in
the parser that means this isn't being picked up?

If it's a weird bit of syntax, then there's a bug in dtml-in 'cos when
you try to wrap the above in a dtml-in, you get that very unhelpful
'unexpected end tag, for tag </dtml-in postingValues>' error.

While I'm at it, that error, which you see a lot, is _really_ unhelpful,
since it doesnt' actually tell you anything about the real problem ;-)

cheers,

Chris