30 | | Most functions in the !ServerConnectionBase class reads an Xml document from the server, and creates an object based on the Xml. To achieve this, the .Net !XmlSerializer class is used. When saving an object, the resulting Xml __must__ be encoded in UTF-8, and the !Utf8XmlWriter does just this. When creating an UTF-8 encoded Xml document in .Net, it inserts the standard UTF-8 BOM marker. Unfortunately the !MapGuide server has a bug that prevents it from correctly reading a document with a BOM. |
| 30 | Most functions in the !ServerConnectionBase class reads an Xml document from the server, and creates an object based on the Xml. To achieve this, the .Net !XmlSerializer class is used. When saving an object, the resulting Xml __must__ be encoded in UTF-8, and the Utf8XmlWriter does just this. When creating an UTF-8 encoded Xml document in .Net, it inserts the standard UTF-8 BOM marker. Unfortunately the !MapGuide server has a bug that prevents it from correctly reading a document with a BOM. |