[mapguide-users] DB XML Component Error in Dynamic Theming

Jackie Ng jackie.ng at aecsystems.com.au
Tue Mar 18 06:25:43 EDT 2008


It sounds like the layer definition xml does not validate. Are you able to
capture the xml output of the theme layer and see if it is a valid
LayerDefinition document?

Also, what version of MapGuide are you using?

- Jackie


max_samart wrote:
> 
> Hi All,
>           I have some sdf files as Polygons and when i want to use the
> Dynamic Theming(GT Example), its use to give  mgdbxmlexception error,
> although I can do dynamic theming on some other sdf layers in the map but
> on some layers i am getting exception with pid terminated with exit
> status'0' .Can anybody give some idea reagarding the same in order to
> proceed further .
> 
> Thks
> Max !!
> ------------------------------------------------------------------------------------------------------
> ERROR IN THE MAPGUIDE SERVER
> 
> <2008-03-18T14:43:57>    Officer Error: An exception occurred in DB XML
> component. 
> Error: XML Indexer:  Parse error in document at line, 61, char 12. Parser
> message: 
> Not enough elements to match content model  
> '((LineStyle,Thickness,Color,Unit,SizeContext),ExtendedData1)'
>  StackTrace:
>   - MgResourceServiceHandler.ProcessOperation line 80 file
> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\ResourceServiceHandler.cpp
>   - MgOpSetResource.Execute line 109 file
> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\OpSetResource.cpp
>   - MgServerResourceService.SetResource line 728 file
> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\ServerResourceService.cpp
>   - MgRepositoryManager.SetResource line 867 file
> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\RepositoryManager.cpp
>   - MgRepositoryManager.AddResource line 840 file
> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\RepositoryManager.cpp
>   - MgResourceContentManager.AddResource line 183 file
> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\ResourceContentManager.cpp
>   - MgResourceContentManager.PutDocument line 624 file
> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\ResourceContentManager.cpp
>   - MgResourceDefinitionManager.PutDocument line 554 file
> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\ResourceDefinitionManager.cpp
> An exception occurred in DB XML component.
> Error: XML Indexer:  Parse error in document at line, 61, char 12. Parser
> message: Not enough elements to match content model :
> '((LineStyle,Thickness,Color,Unit,SizeContext),ExtendedData1)'
> 
> 
> ERROR in the WebServer-
> 
> [Tue Mar 18 14:43:20 2008] [warn] FastCGI: (dynamic) server "D:/Program
> Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe"
> (pid 4088) terminated with exit with status '0'
> [Tue Mar 18 14:43:37 2008] [error] [client 10.0.y.y] FastCGI: server
> "D:/Program Files/MapGuideOpenSource/WebServerExtensions/Php/php-cgi.exe"
> stderr: PHP Fatal error:  Uncaught exception 'mgdbxmlexception' in Unknown
> on line 0, referer:
> http://10.0.x.x:8008/mapguide/Officers/theme/thememain.php
> [Tue Mar 18 14:43:57 2008] [error] [client 10.0.z.z] FastCGI: server
> "D:/Program Files/MapGuideOpenSource/WebServerExtensions/Php/php-cgi.exe"
> stderr: PHP Fatal error:  Uncaught exception 'mgdbxmlexception' in Unknown
> on line 0, referer:
> http://10.0.x.x:8008/mapguide/Officers/theme/thememain.php
> 
> 
>      
> ____________________________________________________________________________________
> Never miss a thing.  Make Yahoo your home page. 
> http://www.yahoo.com/r/hs
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://www.nabble.com/DB-XML-Component-Error-in-Dynamic-Theming-tp16117523s16610p16118026.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list