[Zope] HTML validation failure with DTML-renders -- ends tag with />

Andreas Jung andreas@andreas-jung.com
Mon, 1 Oct 2001 06:47:13 -0400


Using /> is compliant with XHTML.

Andreas
----- Original Message -----
From: "Trevor Toenjes" <zope@toenjes.com>
To: <zope@zope.org>
Sent: Monday, October 01, 2001 00:18
Subject: [Zope] HTML validation failure with DTML-renders -- ends tag with
/>


> I tried validating Zope's HTML for the first time and
> I have come across something strange...
>
> Zope inserts '/>' as the close, instead of just  '>'
> for the automatic '<img src...' created when calling an image with DTML.
>
> Here is my code just to make sure I am not doing something stupid.
> bullet is a .gif.
>
> <dtml-var bullet>
> renders...
> <img src="zope/bullet" alt="" height="14" width="13" border="0" />
>
> It also seems to do this for SiteRoot's insertion into the header.
> <base href="http://www.myzope.com/folder/folder/" />
>
> -Trevor
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>