Thanks for the reply. Unfortunately that did not solve my problem and I got the same error. Is there anything else I could try?
I was not aware you could do this without generating/manipulating the xml. My web tool has to fully control setting up data sources. So the user selects a provider and then fills in the connection details. I then need to create a new data source from this to be stored in mapguide. Can you do this using the Meastro API alone? Kenneth Skovhede, GEOGRAF A/S wrote: > > I believe the problem is the .Net UTF-8 Encoder prefixes an UTF-8 BOM, > which causes problems in the Xml parser: > http://trac.osgeo.org/mapguide/ticket/233 > > You can try to create the UTF-8 encoder with: > > UTF8Encoding utf8 = new UTF8Encoding(false); > > > And see if the problem goes away. > Alternatively you can use the MaestroAPI instead of messing with the raw > Xml: > http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI > > Regards, Kenneth Skovhede, GEOGRAF A/S > > -- View this message in context: http://www.nabble.com/XML-Parser-error-for-Feature-Sources-tp20770245p20771868.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users