[Zope] ZPT img using attributes (newbie)

Jamie Heilman jamie@audible.transient.net
Wed, 15 Jan 2003 18:36:21 -0800


> Could you be more specific? I'm using these and they seem fine. I know I
> make use of tag() implicitly in DTML all the time and it's fine. There is
> the annoying "/>" XHTMLism but otherwise it seems ok.

The /> is correct and valid xhtml, its not so much annoying as it is
requisite for empty elements and maintaining a notion of backward
compatibility--collector issue 634 is what I was referring to in terms
of the tag() method being buggy.  Then there's obnoxious use of the
title attribute by the tag() method which I filed a bug on also,
though my hopes for the rectification of that issue are admittedly
slim.  Ofcourse if you find xhtml's termination of empty elements to
be an annoyance, chances are you don't care a whole lot for the rest of
the standard so tag()'s current behavior shouldn't bother you at all.

-- 
Jamie Heilman                   http://audible.transient.net/~jamie/
"You came all this way, without saying squat, and now you're trying
 to tell me a '56 Chevy can beat a '47 Buick in a dead quarter mile?
 I liked you better when you weren't saying squat kid."	-Buddy