You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@beehive.apache.org by James Black <jb...@ieee.org> on 2005/07/25 23:11:17 UTC

re: end tag for "img" is omitted

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I used <netui:imageAnchor ... />
This becomes <img ...>

There is not </img>, or <img ... />

Could this be fixed, since this causes problems with validation,
http://validator.w3.org

Should this be a bug report?

- --
"Love is mutual self-giving that ends in self-recovery." Fulton Sheen
James Black    james@usf.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC5VV1ikQgpVn8xrARAhTbAJ97y/r9Qz2J+/RwvZ1niKljKnbPdgCfRl7k
1DEX5jy//nNx1mazMg/n6eo=
=oGk5
-----END PGP SIGNATURE-----

Re: end tag for "img" is omitted

Posted by Carlin Rogers <ca...@gmail.com>.
Hi James,

I just ran the HTML source from a simple JSP, through the 
http://validator.w3.org page without errors requiring </img>, or 
<img ... />. The JSP used both the netui:image and the
netui:imageAnchor tags. The default doctype for the netui:html 
tag generates the HTML DOCTYPE for HTML 4.01 Transitional
(loose.dtd). This seemed to validate and as I understand is OK
for HTML.

For XHTML, the beehive NetUI tags definitely produce <img ... />
With the <netui:html documentType="xhtml1-transitional">, both 
netui:image and the netui:imageAnchor tags generate <img ... />.

Are you using the netui:html tag and if so, what is the documentType
attribute? Were there other errors that you got during validation?

Thanks,
Carlin

On 7/25/05, James Black <jb...@ieee.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I used <netui:imageAnchor ... />
> This becomes <img ...>
> 
> There is not </img>, or <img ... />
> 
> Could this be fixed, since this causes problems with validation,
> http://validator.w3.org
> 
> Should this be a bug report?
> 
> - --
> "Love is mutual self-giving that ends in self-recovery." Fulton Sheen
> James Black    james@usf.edu
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFC5VV1ikQgpVn8xrARAhTbAJ97y/r9Qz2J+/RwvZ1niKljKnbPdgCfRl7k
> 1DEX5jy//nNx1mazMg/n6eo=
> =oGk5
> -----END PGP SIGNATURE-----
>