W3C home > Mailing lists > Public > www-validator@w3.org > October 2001

Re: CSS validator reports error in XML

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 31 Oct 2001 03:34:11 +0100
To: Jernej Simon?i? <jernej.simoncic@guest.arnes.si>
Cc: www-validator-css@w3.org, www-validator@w3.org, duerst@w3.org
Message-ID: <3gouttoubfifqdee5qb5sa1nh328hdpbq6@4ax.com>
* Jernej Simoncic wrote:
>When I one of my pages (http://www2.arnes.si/~sopjsimo/translator.html)
>through CSS validator, it reports error in XML, and that I should
>validate XML first. However, W3C HTML validation service reports no
>errors on that page
>I don't see any error at the reported position either. What's wrong?

Error message is

  Target: http://www2.arnes.si/~sopjsimo/translator.html
  Please, validate your XML document first!

  Line 281

  Column 5

  The element type "td" must be terminated by the matching end-tag "". 

The reason is your "Herczeg József Tamás". Since you do not use an XML
declaration with a proper encoding declaration, the validator fails to
decode this part of the document, it assumes UTF-8 encoding but your
document is ISO-8859-2 encoded (that's what you meta element says). You
have to add a proper XML declaration like

  <?xml version='1.0' encoding='ISO-8859-2'?>

at the very beginning of your XHTML document. Seems like the HTML
validator gets something wrong here, it should also warn about this
issue. Someone should take a look at it, Martin?

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/
Received on Tuesday, 30 October 2001 21:35:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:31 UTC