OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IE6 doesn't like comments

I'm sorry that you consider it at this superficial level !
Of course this doesn't depend on the ordering of tags, or on the presence of a <body> wrapper.

Consider this :

 <Comment>inside tag Comment</Comment>
 <Comment2>inside tag Comment2</Comment2>
 <comment>inside tag comment</comment>
 <Description>inside tag Description</Description>

The tags Comment or comment are treated differently, they are not displayed !
This is an interesting example of how Microsoft implements XHTML.

Bjoern Hoehrmann wrote:

> * Jean-Marc Vanel wrote:
> >Try to give this to Internet Explorer 6, inside a file named file.html :
> >
> ><Comment2>inside tag Comment2</Comment2>
> ><Comment>inside tag Comment</Comment>
> >
> >You will see only Comment2 .
> I suppose naming the file .html triggers HTML parsing on your system and
> IE6 considers Comment2 to appear inside <head> thus it refuses to
> display it's content. I wonder what you are trying to achieve here. In
> XML, the document wouldn't be well-formed since you have more than one
> root element.
> --
> Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
> am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
> 25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> The list archives are at http://lists.xml.org/archives/xml-dev/
> To subscribe or unsubscribe from this elist use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>