Tonico Strasser schrieb:
Why does HTML mode help? It converts <foo/> to <foo />.


(This is a reply to an old thread: http://mail.zope.org/pipermail/zope3-dev/2005-October/016155.html)

I found another situation where HTML mode helps the author to be backward (speak MSIE 6) compatible:

In XML mode this snippet

<html xmlns="blah">
<script></script>
</html>

will be converted to

<html xmlns="blah">
<script/>
</html>

. This would cause IE to display a blank page!

To proof that this problem really exists, here some random reports:
<http://carroll.org.uk/post/8>
<http://emmajane.net/tools/ie-script-bug.html>
<http://www.experts-exchange.com/Web/Web_Languages/HTML/Q_21593538.html>

Now you know :)

PS: I'm not against XML mode. Would it make sense to make XML-Mode do the same as HTML mode in this situation?

Tonico

_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to