[mapguide-users] Stylizing a layer
Mal
mfernandes at rand.com
Wed Nov 26 12:48:26 PST 2014
Win7/64, Mapguide 2.5, Maestro 6.0.0.8244
Two questions
1. In the layer style , points, edit style dialog. For symbol If I select
“font” I get the error below. What do I need to do to fix.
2. Any tutorials on how to create a symbol library in Maestro
System.Exception: The remote server returned an error: (559)
MgDbXmlException.:
An exception occurred in DB XML component.
Error: XML Indexer: Parse error in document at line 54, char 20. Parser
message: element 'ForegroundColor' is not allowed for content model
'(Unit,SizeContext,SizeX,SizeY,Rotation?,MaintainAspect?,InsertionPointX?,InsertionPointY?,FontName,Character,Bold?,Italic?,Underlined?,ForegroundColor,ExtendedData1?)'
- MgResourceServiceHandler.ProcessOperation() line 80 file
c:\working\build_area\mapguide\2.5.2\x64\mgdev\server\src\services\resource\ResourceServiceHandler.cpp
- MgOpSetResource.Execute() line 103 file
c:\working\build_area\mapguide\2.5.2\x64\mgdev\server\src\services\resource\OpSetResource.cpp
- MgServerResourceService.SetResource() line 1064 file
c:\working\build_area\mapguide\2.5.2\x64\mgdev\server\src\services\resource\ServerResourceService.cpp
- MgRepositoryManager.SetResource() line 563 file
c:\working\build_area\mapguide\2.5.2\x64\mgdev\server\src\services\resource\RepositoryManager.cpp
- MgRepositoryManager.UpdateResource() line 700 file
c:\working\build_area\mapguide\2.5.2\x64\mgdev\server\src\services\resource\RepositoryManager.cpp
- MgResourceDefinitionManager.UpdateResource
(3cb29020-7596-11e4-8000-000c296f20f3_en_MTI3LjAuMC4x0AFC0AFB0AFA.dbxml)()
line 261 file
c:\working\build_area\mapguide\2.5.2\x64\mgdev\server\src\services\resource\ResourceDefinitionManager.cpp
- MgResourceContentManager.UpdateDocument() line 667 file
c:\working\build_area\mapguide\2.5.2\x64\mgdev\server\src\services\resource\ResourceContentManager.cpp
- MgResourceDefinitionManager.UpdateDocument
(3cb29020-7596-11e4-8000-000c296f20f3_en_MTI3LjAuMC4x0AFC0AFB0AFA.dbxml)()
line 592 file
c:\working\build_area\mapguide\2.5.2\x64\mgdev\server\src\services\resource\ResourceDefinitionManager.cpp
---> System.Net.WebException: The remote server returned an error: (559)
MgDbXmlException.
at System.Net.HttpWebRequest.GetResponse()
at
OSGeo.MapGuide.MaestroAPI.HttpServerConnection.SetResourceXmlData(String
resourceid, Stream content, Stream header) in
c:\working\JenkinsCI\home\slave_win\jobs\Maestro
trunk\workspace\OSGeo.MapGuide.MaestroAPI.Http\HttpServerConnection.cs:line
651
--- End of inner exception stack trace ---
at Maestro.Editors.Common.XmlContentErrorDialog.CheckAndHandle(Exception
ex, String origXml, Boolean bDisplay) in
c:\working\JenkinsCI\home\slave_win\jobs\Maestro
trunk\workspace\Maestro.Editors\Common\XmlContentErrorDialog.cs:line 60
at Maestro.Editors.ResourceEditorServiceBase.SyncSessionCopy() in
c:\working\JenkinsCI\home\slave_win\jobs\Maestro
trunk\workspace\Maestro.Editors\ResourceEditorServiceBase.cs:line 429
at
Maestro.Editors.LayerDefinition.Vector.StyleEditors.PointFeatureStyleEditor.UpdatePreviewImage()
in c:\working\JenkinsCI\home\slave_win\jobs\Maestro
trunk\workspace\Maestro.Editors\LayerDefinition\Vector\StyleEditors\PointFeatureStyleEditor.cs:line
967
at
Maestro.Editors.LayerDefinition.Vector.StyleEditors.PointFeatureStyleEditor.UpdatePreviewResult()
in c:\working\JenkinsCI\home\slave_win\jobs\Maestro
trunk\workspace\Maestro.Editors\LayerDefinition\Vector\StyleEditors\PointFeatureStyleEditor.cs:line
1803
at
Maestro.Editors.LayerDefinition.Vector.StyleEditors.PointFeatureStyleEditor.UpdateDisplay()
in c:\working\JenkinsCI\home\slave_win\jobs\Maestro
trunk\workspace\Maestro.Editors\LayerDefinition\Vector\StyleEditors\PointFeatureStyleEditor.cs:line
337
at
Maestro.Editors.LayerDefinition.Vector.StyleEditors.PointFeatureStyleEditor.Symbol_SelectedIndexChanged(Object
sender, EventArgs e) in c:\working\JenkinsCI\home\slave_win\jobs\Maestro
trunk\workspace\Maestro.Editors\LayerDefinition\Vector\StyleEditors\PointFeatureStyleEditor.cs:line
1064
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ComboBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Stylizing-a-layer-tp5175166.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list