This has been fixed in Struts 1.1b3 - you can enable this using either of the following:
<html:html xhtml="true"> or on your included pages: <html:xhtml /> One thing to note is that it doesn't do XHTML 1.0 Strict as it still used the attribute "name" in a form. HTH, Matt -----Original Message----- From: julian green [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 9:20 AM To: Struts Users Mailing List Subject: html:text tags are slightly broken. The html generated by the html:text tag is html compliant, but not XML compliant. It is missing a closing </input>. This does not pose a problem if the output of the jsp is rendered by a browser, but I am using XSLT to decorate the page before the browser sees it. This tag therefore generates XML errors during the translation phase. Although I now have a work around (dont use the html:text tag) the tag is still broken. Can someone suggest a better work around? Example output produces by the struts-example login.jsp page: <input type="text" name="username" maxlength="16" size="16" value=""> generated by <html:text property="username" size="16" maxlength="16"/> Julian -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

