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=12185>.
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=12185

HTML tags badly parsed in text/xml mode





------- Additional Comments From [EMAIL PROTECTED]  2002-10-23 22:21 -------
I created a patch to control the render of xhtml 1.0 with the xhtml attribute of
the html tag.

I defined a protected getXhtml method in o.a.s.t.h.BaseHandlerTag that returns
true if there exists an enclosing html tag with the xhtml attribute set to true.

Subclasses of BaseHandlerTag write ">" or " />" deppending on the return value
of getXhtml().

All affected tags are subclasses of BaseHandlerTag except BaseTag, so I defined
the getXhtml method in BaseTag too.

I also created a patch for struts-html.xml to explain the behaviour.

Here come the patches ....

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to