I'm running 1.1 , yes and the base tag renders as xhtml. I'll certainly be sleeping more soundly.
I've just downloaded the latest stable release and as far as form elements are concerned it doesn't, either that or it just hates me. As I imagine you know, these changes are in the head version in cvs, so i guess they'll be along with the next release or something. But struts 1.1 doesn't seem to ship with this functionality.
Cheers Mark
On Wednesday, September 3, 2003, at 12:49 AM, David Graham wrote:
--- Mark Lowe <[EMAIL PROTECTED]> wrote:I guess this bug was fixed , at least with the html:base tag. So it will be a matter of upgrading struts to a version where this has been fixed.
Struts 1.1 shipped with this functionality.
David
Likewise the form elements, the source that appends /> or > is all
there in the latest source. So I guess its a matter of updating your
struts. You'll have to see if there's a release version with these
changes. I'm not sure if there is a release with these changes, the one
i'm using hasn't, just the base tag.
Cheers Mark
On Tuesday, September 2, 2003, at 11:35 PM, Mark Lowe wrote:
It is a tad strange that the tags don't close as valid xhtml.size="30"
There is a mechanism for this in the source of BaseTag in the renderBaseElement method. .. if (TagUtils.getInstance().isXhtml(this.pageContext)) { tag.append(" />"); } else { tag.append(">"); } ..
I guess its just a matter of finding out why it doesn't work, I would be nice to get this running. Especially as its been thought about already, i guess this is where the beef is.
Cheers Mark
On Tuesday, September 2, 2003, at 10:02 PM, Marco Tedone wrote:
Hi, I discovered that not only the <html:base> tag doesn't render a tag closure but also all the <html:..input> elements (text, password and so on). This unfortunately results in a document which is not valid conforming to the XHTML 1.0.
Would it be possible to add the HTML tags closure for the <html:...> tags? The fugure of HTML seems to be XHTML and it wouldn't be that nice to have maybe some good tool which we cannot use because our documents are not well formed.
Here follows a W3C validated document based on the XHTML 1.0 dtd:
<!-- BEGIN OF XHTML validation -->
Line 15, column 58: end tag for "base" omitted, but OMITTAG NO was specified <base href="http://www.jemos.org/jemos/jemos/login.jsp"> ^ Line 15, column 2: start tag was here (explain...). <base href="http://www.jemos.org/jemos/jemos/login.jsp"> ^ Line 91, column 35: value of attribute "method" cannot be "POST"; must be one of "get", "post" (explain...). <form name="loginForm" method="POST" action="/jemos/loginAction.do;jsessionid=F8 ^ Line 96, column 48: value of attribute "valign" cannot be "center"; must be one of "top", "middle", "bottom", "baseline" (explain...). ...olspan='3' height='50' valign='center' class="centerText"><h2>Please Login</h ^ Line 101, column 97: end tag for "input" omitted, but OMITTAG NO was specified ... name="email" size="40" value=""></td> ^ Line 101, column 42: start tag was here (explain...). ... <td class="headerText" align="left"><input type="text" name="email" size="40 ^ Line 108, column 82: end tag for "input" omitted, but OMITTAG NO was specified ...axlength="30" size="30" value=""></td> ^ Line 108, column 5: start tag was here (explain...). <input type="password" name="password" maxlength="30"value=""></ ^ Line 113, column 44: end tag for "input" omitted, but OMITTAG NO was specified <input type="submit" value="Submit"> ^ Line 113, column 8: start tag was here (explain...). <input type="submit" value="Submit"> ^
<!-- END OF XHTML validation -->
Regards,
Marco
-------------------------------------------------------------------- -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

