[EMAIL PROTECTED] wrote:

> Generally, Xalan doesn't know about any browser-specific issues.
> Do people want separate serializers for every version of every
> browser?

I'm not sure if it's really browser specific, I know Netscape has
similar bugs with empty tags.
And IE 4, 5 and 6 all have the same bug with empty textareas and divs

> Can the problem be worked around by sticking a space or comment
> into the element? That would force separate start and end tags.
> <div><!-- IE has a bug --></div>

For most tags it can be worked around with comments inside the tag, but
not for <textarea>, because everything between the start and
end tag are considered as part of the value, even whitespace and
comments.

I could also put a space (&#160;) inside textareas, but they are also
interpreted as part of the value,
so it makes validation and saving the form values to the database more
complex
(I have to remove spaces at the begining/end of the string to check if a
value was entered instead of just checking if it is blank or null)



Reply via email to