W3C home > Mailing lists > Public > www-validator@w3.org > July 2002

BOM causing problems again?

From: Peter Sheerin <pete@petesguide.com>
Date: Tue, 9 Jul 2002 14:47:07 -0700
Message-ID: <00ec01c22792$3ede26d0$a306960a@cadpkslaptop>
To: "Terje Bless" <link@pobox.com>, <www-validator@w3.org>

Once upon a time you graciously added code to handle the optional BOM on UTF-8 files, but I seem to have found a way to break that code. Could you take a look at this page and its resulting validation message, then tell me if I'm doing something wrong?


This seems to be specific to pages that have the XML prolog. I suppose there could be some other strange interloper character causing the problem, but it's probably the BOM.

:8001 validator report:
  a.. Note: UTF-8 'BOM' detected and removed. (This message is informational. See the explanation for details.) 
This Page Is NOT Valid XHTML 1.1!
Below are the results of attempting to parse this document with an SGML parser. 

  1.. Line 1, column 0: character "" not allowed in prolog 
  <?xml version="1.0" encoding="UTF-8"?>

Received on Tuesday, 9 July 2002 17:48:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:28 UTC