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: UTF-8 BOM



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.)

-- Richard