[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: UTF-8 BOM
- From: Richard Tobin <email@example.com>
- To: firstname.lastname@example.org
- Date: Mon, 02 Jul 2001 16:26:07 +0100 (BST)
Thanks for the results.
> This issue should perhaps become part of "XML Blueberry"
The main problem with this is that it would mean that the legality of
the first bytes of an entity would depend on whether there was an text
declaration following them and what version number it contained, which
seems the wrong way round. It should be possible to handle a BOM at a
level below that at which the text declaration is processed. (Of
course, this can't really be done. If you get encoding="iso-8859-1"
after a UTF-8 BOM there's something wrong which ought to be reported.)