[Zope3-dev] Re: .xpt extension for explicit xml processing

Tonico Strasser contact_tonico at yahoo.de
Thu Jan 12 13:03:12 EST 2006


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



More information about the Zope3-dev mailing list