>>>>> "David" == David N Bertoni/Cambridge/IBM <[EMAIL PROTECTED]> writes:

    David> There is no assumption made about the encoding.  It can be
    David> any stream of bytes that represents a well-formed XML
    David> document.  The parser will do what is required to determine
    David> the encoding, as it would with a stream from a file.

So does that mean I can pass a stream of UTF-16 bytes to it?
If so, do I have to start the stream with a BOM, for the parser to
recognise it as UTF-16?
-- 
Colin Paul Adams
Preston Lancashire

Reply via email to