<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><P>Hi ,</P>
<P> </P>
<P> Thanks for your reply,i am using MGOS 1.2.0 ,yeh the exception shows that not enough elements to match content model , Anyway i will try to stylize the layer using the mapguide studio and capture the xml output but what i use for the validation of the LayerDefinition document.</P>
<P> </P>
<P>Thks</P>
<P>Max</P>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Jackie Ng <jackie.ng@aecsystems.com.au><BR>To: mapguide-users@lists.osgeo.org<BR>Sent: Monday, March 17, 2008 10:25:43 PM<BR>Subject: Re: [mapguide-users] DB XML Component Error in Dynamic Theming<BR><BR><BR>It sounds like the layer definition xml does not validate. Are you able to<BR>capture the xml output of the theme layer and see if it is a valid<BR>LayerDefinition document?<BR><BR>Also, what version of MapGuide are you using?<BR><BR>- Jackie<BR><BR><BR>max_samart wrote:<BR>> <BR>> Hi All,<BR>> I have some sdf files as Polygons and when i want to use the<BR>> Dynamic Theming(GT Example), its use to give mgdbxmlexception error,<BR>> although I can do dynamic theming on some other sdf layers in the map but<BR>> on some layers i am getting exception with pid terminated
with exit<BR>> status'0' .Can anybody give some idea reagarding the same in order to<BR>> proceed further .<BR>> <BR>> Thks<BR>> Max !!<BR>> ------------------------------------------------------------------------------------------------------<BR>> ERROR IN THE MAPGUIDE SERVER<BR>> <BR>> <2008-03-18T14:43:57> Officer Error: An exception occurred in DB XML<BR>> component. <BR>> Error: XML Indexer: Parse error in document at line, 61, char 12. Parser<BR>> message: <BR>> Not enough elements to match content model <BR>> '((LineStyle,Thickness,Color,Unit,SizeContext),ExtendedData1)'<BR>> StackTrace:<BR>> - MgResourceServiceHandler.ProcessOperation line 80 file<BR>> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\ResourceServiceHandler.cpp<BR>> - MgOpSetResource.Execute line 109 file<BR>>
c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\OpSetResource.cpp<BR>> - MgServerResourceService.SetResource line 728 file<BR>> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\ServerResourceService.cpp<BR>> - MgRepositoryManager.SetResource line 867 file<BR>> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\RepositoryManager.cpp<BR>> - MgRepositoryManager.AddResource line 840 file<BR>> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\RepositoryManager.cpp<BR>> - MgResourceContentManager.AddResource line 183 file<BR>> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\ResourceContentManager.cpp<BR>> - MgResourceContentManager.PutDocument line 624 file<BR>>
c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\ResourceContentManager.cpp<BR>> - MgResourceDefinitionManager.PutDocument line 554 file<BR>> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\ResourceDefinitionManager.cpp<BR>> An exception occurred in DB XML component.<BR>> Error: XML Indexer: Parse error in document at line, 61, char 12. Parser<BR>> message: Not enough elements to match content model :<BR>> '((LineStyle,Thickness,Color,Unit,SizeContext),ExtendedData1)'<BR>> <BR>> <BR>> ERROR in the WebServer-<BR>> <BR>> [Tue Mar 18 14:43:20 2008] [warn] FastCGI: (dynamic) server "D:/Program<BR>> Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe"<BR>> (pid 4088) terminated with exit with status '0'<BR>> [Tue Mar 18 14:43:37 2008] [error] [client 10.0.y.y] FastCGI: server<BR>> "D:/Program
Files/MapGuideOpenSource/WebServerExtensions/Php/php-cgi.exe"<BR>> stderr: PHP Fatal error: Uncaught exception 'mgdbxmlexception' in Unknown<BR>> on line 0, referer:<BR>> <A href="http://10.0.x.x:8008/mapguide/Officers/theme/thememain.php" target=_blank>http://10.0.x.x:8008/mapguide/Officers/theme/thememain.php</A><BR>> [Tue Mar 18 14:43:57 2008] [error] [client 10.0.z.z] FastCGI: server<BR>> "D:/Program Files/MapGuideOpenSource/WebServerExtensions/Php/php-cgi.exe"<BR>> stderr: PHP Fatal error: Uncaught exception 'mgdbxmlexception' in Unknown<BR>> on line 0, referer:<BR>> <A href="http://10.0.x.x:8008/mapguide/Officers/theme/thememain.php" target=_blank>http://10.0.x.x:8008/mapguide/Officers/theme/thememain.php</A><BR>> <BR>> <BR>> <BR>> ____________________________________________________________________________________<BR>> Never miss a thing. Make Yahoo your home page.
<BR>> <A href="http://www.yahoo.com/r/hs" target=_blank>http://www.yahoo.com/r/hs</A><BR>> _______________________________________________<BR>> mapguide-users mailing list<BR>> <A href="mailto:mapguide-users@lists.osgeo.org" ymailto="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</A><BR>> <A href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target=_blank>http://lists.osgeo.org/mailman/listinfo/mapguide-users</A><BR>> <BR>> <BR><BR>-- <BR>View this message in context: <A href="http://www.nabble.com/DB-XML-Component-Error-in-Dynamic-Theming-tp16117523s16610p16118026.html" target=_blank>http://www.nabble.com/DB-XML-Component-Error-in-Dynamic-Theming-tp16117523s16610p16118026.html</A><BR>Sent from the MapGuide Users mailing list archive at <A href="http://nabble.com/" target=_blank>Nabble.com</A>.<BR><BR>_______________________________________________<BR>mapguide-users mailing list<BR><A
href="mailto:mapguide-users@lists.osgeo.org" ymailto="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</A><BR><A href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target=_blank>http://lists.osgeo.org/mailman/listinfo/mapguide-users</A><BR></DIV><BR></DIV></div><br>
<hr size=1>Never miss a thing. <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>
</body></html>