> At 09:12 AM 5/3/98 -0400, David Megginson wrote:
> >James Clark writes:
> > > It should be specified whether a byte order mark at the beginning
> > > of a XML byte stream is included as part of the character stream.
> > > I don't think it should be
> >
> >My first hunch is the opposite: the XML productions deal with
> >characters, not bytes.
>
> I think James has the spec on his side here. The BOM should *definitely*
> be hidden from SAX customers.
My fault -- I am very tired (for non-SAX reasons), and misread James's
comment: I somehow assumed that he was suggesting that the BOM be
removed from _byte_ streams. Tim and James are entirely correct: the
BOM should not appear in character streams.
Sorry for any confusion,
David
-- David Megginson ak117@freenet.carleton.ca Microstar Software Ltd. dmeggins@microstar.com http://home.sprynet.com/sprynet/dmeggins/