[
Lists Home |
Date Index |
Thread Index
]
At 2:45 PM -0700 8/5/02, Ramin Firoozye wrote:
>There's a fairly well-known web-site that returns:
>
><!--[if IE]><script language=javascript>ie5=1;</script><![endif]-->
><![if !IE]><script language=javascript>ie5=0;</script><![endif]>
>...
This is not well-formed XML, not even close. The problem is the <!
outside the comment. If the site claims this is XML, then the site is
wrong. However, possibly the site is only serving HTML, not XML or
XHTML.
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| XML in a Nutshell, 2nd Edition (O'Reilly, 2002) |
| http://www.cafeconleche.org/books/xian2/ |
| http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+
|