Re: Encoding and mystery

2003-01-03 Thread Joseph Kesselman
On Monday, 12/30/2002 at 10:52 PST, rf <[EMAIL PROTECTED]> wrote: > How does an XML reader know of the encoding of an XML > before reading it The simple answer is, it can't. It needs to examing the XML Declaration *before* selecting the encoding. The XML Recommendation discusses this process: L

Encoding and mystery

2002-12-31 Thread rf
hello This might be a fairly simple one, but I dont know it. How does an XML reader know of the encoding of an XML before reading it - the encoding is mentioned inside the XML in the first processing instruction. One book says that if you are reading an XML accross a network(say http), then you (ha