<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 checked the log file and posted the contents in my previous e-mail but i have no idea how to debug this issue.</P>
<P> </P>
<P><STRONG>Error in the Map Server(MGOS 1.2.0)</STRONG></P>
<P>Error: An exception occurred in DB XML component. <BR>Error: XML Indexer: Parse error in document at line, 61, char 12. Parser message: <BR>Not enough elements to match content model <BR>((LineStyle,Thickness,Color,Unit,SizeContext),ExtendedData1)'</P>
<P> </P>
<P><STRONG>Error in Apache Web Server</STRONG></P>
<P> </P>
<P> [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 on line 0, referer: <A href="http://10.0.x.x:8008/mapguide/Officers/theme/thememain.php" target=_blank rel=nofollow><FONT color=#0000ff>http://10.0.x.x:8008/mapguide/Officers/theme/thememain.php</FONT></A><BR></P>
<P> </P>
<P>Thks</P>
<P>Max<BR></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: "Kenneth, GEOGRAF A/S" <ks@geograf.dk><BR>To: MapGuide Users Mail List <mapguide-users@lists.osgeo.org><BR>Sent: Thursday, March 20, 2008 9:29:57 PM<BR>Subject: Re: [mapguide-users] DB XML Component Error in Dynamic Theming<BR><BR>When that error comes, there is usually an entry in the error.log file, which indicates why the Xml was invalid. <BR>This message will hopefully help you in locating the precise problem.<BR><PRE class=moz-signature>Regards, Kenneth, GEOGRAF A/S
</PRE><BR><BR>Rahul skrev:
<BLOCKQUOTE type="cite">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<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 <A class=moz-txt-link-rfc2396E href="mailto:jackie.ng@aecsystems.com.au" target=_blank rel=nofollow ymailto="mailto:jackie.ng@aecsystems.com.au"><jackie.ng@aecsystems.com.au></A><BR>To: <A class=moz-txt-link-abbreviated href="mailto:mapguide-users@lists.osgeo.org" target=_blank rel=nofollow ymailto="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</A><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" target=_blank rel=nofollow ymailto="mailto:jackie.ng@aecsystems.com.au">jackie.ng@aecsystems.com.au</A>><BR>> To: <A href="mailto:mapguide-users@lists.osgeo.org" target=_blank rel=nofollow 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 rel=nofollow>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 rel=nofollow>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 rel=nofollow>http://www.yahoo.com/r/hs</A><BR>>> _______________________________________________<BR>>> mapguide-users mailing list<BR>>> <A href="mailto:mapguide-users@lists.osgeo.org" target=_blank rel=nofollow 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 rel=nofollow>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
rel=nofollow>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 rel=nofollow>Nabble.com</A>.<BR>> <BR>> _______________________________________________<BR>> mapguide-users mailing list<BR>> <A href="mailto:mapguide-users@lists.osgeo.org" target=_blank rel=nofollow 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 rel=nofollow>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 rel=nofollow>http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ</A> <BR>> <BR>> _______________________________________________<BR>> mapguide-users mailing list<BR>> <A href="mailto:mapguide-users@lists.osgeo.org" target=_blank rel=nofollow 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 rel=nofollow>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 rel=nofollow>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 rel=nofollow>Nabble.com</A>.<BR><BR>_______________________________________________<BR>mapguide-users mailing list<BR><A href="mailto:mapguide-users@lists.osgeo.org" target=_blank rel=nofollow 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 rel=nofollow>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" target=_blank rel=nofollow>Find them fast with Yahoo! Search.</A> <PRE><HR width="90%" SIZE=4>
_______________________________________________
mapguide-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:mapguide-users@lists.osgeo.org" target=_blank rel=nofollow ymailto="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</A>
<A class=moz-txt-link-freetext href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target=_blank rel=nofollow>http://lists.osgeo.org/mailman/listinfo/mapguide-users</A>
</PRE></BLOCKQUOTE><!-- kill -->
<DIV><BR><BR>-----Inline Attachment Follows-----<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></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>