Byte Order Marks and XmlDocument Streaming to HTTP(west-wind.com)
submitted by
rstrahl(7226) 3 years, 9 months ago
If you're generating XML content that gets sent out to HTTP you'll need to watch out for the default XmlTextWriter encoding which includes a byte order mark. Including a BOM in Http output effectively produces invalid XML and while a smart XML client will skip over the BOM, others will barf on the BOM and treat it as content.
|category: XML
|Views: 8
tags:
XML another
Everyones tags:
Your Tags: