>
> ... When dealing with files .net understands BOM and removes it from
> returned data but it does not expect to see it in string/memory buffer.


You're right, and I think it makes sense now, the 3 lead bytes are just
being taken as text, so putting a TextReader in between lets then get
interpreted correctly for loading into the XDocument -- Greg

Reply via email to