<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> I tried the <STRONG>1.2 Viewer Samples</STRONG> but unable to get going and the same error -<STRONG>DB XML Component</STRONG> Error coming up in the application.In the same application i can perform theming on some sdf files and cannot perform on other files. On the other hand when i tried to do <U>theming in the MapGuide Studio 2008</U> , i can perform the same theming on the the layers with out any error.i am stuck and unable to move forward,how to resolve this Issue.</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: Wednesday, March 19, 2008 8:17:55 AM<BR>Subject: Re: [mapguide-users] DB XML Component Error in Dynamic Theming<BR><BR><BR>If I recall:<BR><BR>1 - The Generic Tasks sample was built for MGOS 1.1.0<BR>2 - I think there were schema changes to LayerDefinition in MGOS 1.2.0<BR><BR>Maybe try the 1.2 viewer samples, as are basically the updated version of<BR>the Generic Tasks sample.<BR><BR>- Jackie<BR><BR><BR>max_samart wrote:<BR>> <BR>> Hi ,<BR>> <BR>> Thanks for your reply,i am using MGOS 1.2.0 ,yeh the exception shows<BR>> that not enough elements to match content model , Anyway i will try to<BR>> stylize the layer using the mapguide studio and capture the xml output<BR>> but what i use for the
validation of the LayerDefinition document.<BR>> <BR>> Thks<BR>> Max<BR>> <BR>> <BR>> <BR>> ----- Original Message ----<BR>> From: Jackie Ng <<A href="mailto:jackie.ng@aecsystems.com.au" ymailto="mailto:jackie.ng@aecsystems.com.au">jackie.ng@aecsystems.com.au</A>><BR>> To: <A href="mailto:mapguide-users@lists.osgeo.org" ymailto="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</A><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<BR>>> 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<BR>>> 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:<BR>> <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>>
<BR>> <BR>> <BR>> ____________________________________________________________________________________<BR>> Be a better friend, newshound, and <BR>> know-it-all with Yahoo! Mobile. Try it now. <BR>> <A href="http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ" target=_blank>http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ</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>> <BR>> <BR><BR>-- <BR>View this message in context: <A href="http://www.nabble.com/DB-XML-Component-Error-in-Dynamic-Theming-tp16117523s16610p16135228.html"
target=_blank>http://www.nabble.com/DB-XML-Component-Error-in-Dynamic-Theming-tp16117523s16610p16135228.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>Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping">
Find them fast with Yahoo! Search.</a></body></html>