You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Matt Raible <ma...@icsynergy.com> on 2001/11/07 21:51:38 UTC

RE: DO NOT REPLY [Bug 4708] New: - html:text Input tag should be terminated with />

Most older browser will allow the closing tag "/>", however, it is necessary
to add a space between the last " and the close (on an empty tag).

For example: <br/> will not work in Netscape 4.x, but <br /> will work.

I am getting ready to convert all the <html> tags to XHTML, and was hoping
to simply feed off the <html:html xhtml="true"> and if it is true, then add
the ending /.  Is this a good approach?

Matt

-----Original Message-----
From: martin.cooper@tumbleweed.com [mailto:martin.cooper@tumbleweed.com]
Sent: Wednesday, November 07, 2001 1:55 PM
To: Struts Developers List; rajangupta@rocketmail.com
Subject: Re: DO NOT REPLY [Bug 4708] New: - html:text Input tag should
be terminated with />


It is true that the generated HTML is not XML compliant. HTML itself is not
XML compliant, which is at least part of why XHTML was created.

It's not clear to me that we can change the output to be XHTML. I suspect
that not all browsers - particularly older ones - will accept XHTML in place
of HTML.

Can anyone shed some more light on this?

--
Martin Cooper


----- Original Message -----
From: <bu...@apache.org>
To: <st...@jakarta.apache.org>
Sent: Wednesday, November 07, 2001 12:05 PM
Subject: DO NOT REPLY [Bug 4708] New: - html:text Input tag should be
terminated with />


> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4708>.
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
> INSERTED IN THE BUG DATABASE.
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4708
>
> html:text Input tag should be terminated with />
>
>            Summary: html:text Input tag should be terminated with />
>            Product: Struts
>            Version: 1.0 Final
>           Platform: Other
>         OS/Version: Other
>             Status: NEW
>           Severity: Normal
>           Priority: Other
>          Component: Custom Tags
>         AssignedTo: struts-dev@jakarta.apache.org
>         ReportedBy: rajangupta@rocketmail.com
>
>
> The HTML generated for <html:text ../> tag is not XML complaint.
> It should be terminated as <input .... />
>
> it is currently getting terminated as <input ....>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>