Hmm...I just tried that as well, and the process worked, in that it created a symbol with that information. However, when I tried using it on the map, it again displayed nothing for me. One other question Martin: When I tried uploading the xml to the server, I got an error message with an exception thrown with a validation error message. I had received that in Studio as well, because <SimplSymbolDefinition> needs a 'version=1.0.0' attribute. So, I included that, but I still got an error. It wasn't until I had declared at the top of the file

   <?xml version="1.0" encoding="UTF-8"?>
   <SimpleSymbolDefinition
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
   xsi:noNamespaceSchemaLocation="SymbolDefinition-1.0.0.xsd"
   version="1.0.0">


that I got it load to the server. Did you never have to go through this in order to save your files?

Thanks.

The exact error message was


   An exception occurred in the XML parser.

An exception occurred in the XML parser. Exception occurred in method MgResourceContentManager.ValidateDocument at line 556 in file c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\ResourceContentManager.cpp



Martin Morrison wrote:

I created the symbols outside of Studio using a text editor and then loaded them into the server. I will say that the first attempt or two at using online encoders to base64 didn't work the file was radically different that what was shown below. I did hit on one that worked well, I have it bookmarked but I don't have access to that bookmark right now. You can look at the symbols created by the xml below by going to http://gis.edsi/com then follow the links to the Mecklenburg County public site.

Thanks,

Martin
_______________________________________________
mapguide-users mailing list
[email protected] <mailto:[email protected]>
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to