<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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" cols="72">Regards, Kenneth, GEOGRAF A/S
</pre>
<br>
<br>
Rahul skrev:
<blockquote cite="mid:77045.9267.qm@web34504.mail.mud.yahoo.com"
 type="cite">
  <style type="text/css"><!-- DIV {margin:0px;} --></style>
  <div
 style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
  <p>Hi,</p>
  <p>&nbsp;&nbsp;&nbsp;&nbsp; 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&nbsp; <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>&nbsp;</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">&lt;jackie.ng@aecsystems.com.au&gt;</a><br>
To: <a class="moz-txt-link-abbreviated" href="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>
&gt; <br>
&gt; Hi ,<br>
&gt; <br>
&gt;&nbsp; &nbsp; &nbsp; Thanks for your reply,i am using MGOS 1.2.0 ,yeh the
exception shows<br>
&gt; that not enough elements to match content model , Anyway i will
try to<br>
&gt; stylize the layer using the mapguide studio and&nbsp; capture the xml
output<br>
&gt; but what i use for the validation of the LayerDefinition document.<br>
&gt; <br>
&gt; Thks<br>
&gt; Max<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; ----- Original Message ----<br>
&gt; From: Jackie Ng &lt;<a moz-do-not-send="true"
 href="mailto:jackie.ng@aecsystems.com.au"
 ymailto="mailto:jackie.ng@aecsystems.com.au">jackie.ng@aecsystems.com.au</a>&gt;<br>
&gt; To: <a moz-do-not-send="true"
 href="mailto:mapguide-users@lists.osgeo.org"
 ymailto="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
&gt; Sent: Monday, March 17, 2008 10:25:43 PM<br>
&gt; Subject: Re: [mapguide-users] DB XML Component Error in Dynamic
Theming<br>
&gt; <br>
&gt; <br>
&gt; It sounds like the layer definition xml does not validate. Are you
able to<br>
&gt; capture the xml output of the theme layer and see if it is a valid<br>
&gt; LayerDefinition document?<br>
&gt; <br>
&gt; Also, what version of MapGuide are you using?<br>
&gt; <br>
&gt; - Jackie<br>
&gt; <br>
&gt; <br>
&gt; max_samart wrote:<br>
&gt;&gt; <br>
&gt;&gt; Hi All,<br>
&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I have some sdf files as Polygons and when i want to
use the<br>
&gt;&gt; Dynamic Theming(GT Example), its use to give&nbsp; mgdbxmlexception
error,<br>
&gt;&gt; although I can do dynamic theming on some other sdf layers in
the map but<br>
&gt;&gt; on some layers i am getting exception with pid terminated with
exit<br>
&gt;&gt; status'0' .Can anybody give some idea reagarding the same in
order to<br>
&gt;&gt; proceed further .<br>
&gt;&gt; <br>
&gt;&gt; Thks<br>
&gt;&gt; Max !!<br>
&gt;&gt;
------------------------------------------------------------------------------------------------------<br>
&gt;&gt; ERROR IN THE MAPGUIDE SERVER<br>
&gt;&gt; <br>
&gt;&gt; &lt;2008-03-18T14:43:57&gt;&nbsp; &nbsp; Officer Error: An exception
occurred in DB XML<br>
&gt;&gt; component. <br>
&gt;&gt; Error: XML Indexer:&nbsp; Parse error in document at line, 61, char
12. Parser<br>
&gt;&gt; message: <br>
&gt;&gt; Not enough elements to match content model&nbsp; <br>
&gt;&gt; '((LineStyle,Thickness,Color,Unit,SizeContext),ExtendedData1)'<br>
&gt;&gt;&nbsp; StackTrace:<br>
&gt;&gt;&nbsp; - MgResourceServiceHandler.ProcessOperation line 80 file<br>
&gt;&gt;
c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\ResourceServiceHandler.cpp<br>
&gt;&gt;&nbsp; - MgOpSetResource.Execute line 109 file<br>
&gt;&gt;
c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\OpSetResource.cpp<br>
&gt;&gt;&nbsp; - MgServerResourceService.SetResource line 728 file<br>
&gt;&gt;
c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\ServerResourceService.cpp<br>
&gt;&gt;&nbsp; - MgRepositoryManager.SetResource line 867 file<br>
&gt;&gt;
c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\RepositoryManager.cpp<br>
&gt;&gt;&nbsp; - MgRepositoryManager.AddResource line 840 file<br>
&gt;&gt;
c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\RepositoryManager.cpp<br>
&gt;&gt;&nbsp; - MgResourceContentManager.AddResource line 183 file<br>
&gt;&gt;
c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\ResourceContentManager.cpp<br>
&gt;&gt;&nbsp; - MgResourceContentManager.PutDocument line 624 file<br>
&gt;&gt;
c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\ResourceContentManager.cpp<br>
&gt;&gt;&nbsp; - MgResourceDefinitionManager.PutDocument line 554 file<br>
&gt;&gt;
c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\ResourceDefinitionManager.cpp<br>
&gt;&gt; An exception occurred in DB XML component.<br>
&gt;&gt; Error: XML Indexer:&nbsp; Parse error in document at line, 61, char
12. Parser<br>
&gt;&gt; message: Not enough elements to match content model :<br>
&gt;&gt; '((LineStyle,Thickness,Color,Unit,SizeContext),ExtendedData1)'<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; ERROR in the WebServer-<br>
&gt;&gt; <br>
&gt;&gt; [Tue Mar 18 14:43:20 2008] [warn] FastCGI: (dynamic) server
"D:/Program<br>
&gt;&gt;
Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe"<br>
&gt;&gt; (pid 4088) terminated with exit with status '0'<br>
&gt;&gt; [Tue Mar 18 14:43:37 2008] [error] [client 10.0.y.y] FastCGI:
server<br>
&gt;&gt; "D:/Program
Files/MapGuideOpenSource/WebServerExtensions/Php/php-cgi.exe"<br>
&gt;&gt; stderr: PHP Fatal error:&nbsp; Uncaught exception
'mgdbxmlexception' in<br>
&gt;&gt; Unknown<br>
&gt;&gt; on line 0, referer:<br>
&gt;&gt; <a moz-do-not-send="true"
 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>
&gt;&gt; [Tue Mar 18 14:43:57 2008] [error] [client 10.0.z.z] FastCGI:
server<br>
&gt;&gt; "D:/Program
Files/MapGuideOpenSource/WebServerExtensions/Php/php-cgi.exe"<br>
&gt;&gt; stderr: PHP Fatal error:&nbsp; Uncaught exception
'mgdbxmlexception' in<br>
&gt;&gt; Unknown<br>
&gt;&gt; on line 0, referer:<br>
&gt;&gt; <a moz-do-not-send="true"
 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>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt;&nbsp; &nbsp; &nbsp; <br>
&gt;&gt;
____________________________________________________________________________________<br>
&gt;&gt; Never miss a thing.&nbsp; Make Yahoo your home page. <br>
&gt;&gt; <a moz-do-not-send="true" href="http://www.yahoo.com/r/hs"
 target="_blank">http://www.yahoo.com/r/hs</a><br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; mapguide-users mailing list<br>
&gt;&gt; <a moz-do-not-send="true"
 href="mailto:mapguide-users@lists.osgeo.org"
 ymailto="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
&gt;&gt; <a moz-do-not-send="true"
 href="http://lists.osgeo.org/mailman/listinfo/mapguide-users"
 target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt; <br>
&gt; -- <br>
&gt; View this message in context:<br>
&gt; <a moz-do-not-send="true"
 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>
&gt; Sent from the MapGuide Users mailing list archive at <a
 moz-do-not-send="true" href="http://nabble.com/" target="_blank">Nabble.com</a>.<br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; mapguide-users mailing list<br>
&gt; <a moz-do-not-send="true"
 href="mailto:mapguide-users@lists.osgeo.org"
 ymailto="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
&gt; <a moz-do-not-send="true"
 href="http://lists.osgeo.org/mailman/listinfo/mapguide-users"
 target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
&gt; <br>
&gt; <br>
&gt;&nbsp; &nbsp; &nbsp; <br>
&gt;
____________________________________________________________________________________<br>
&gt; Be a better friend, newshound, and <br>
&gt; know-it-all with Yahoo! Mobile.&nbsp; Try it now. <br>
&gt; <a moz-do-not-send="true"
 href="http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ"
 target="_blank">http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ</a>
  <br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; mapguide-users mailing list<br>
&gt; <a moz-do-not-send="true"
 href="mailto:mapguide-users@lists.osgeo.org"
 ymailto="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
&gt; <a moz-do-not-send="true"
 href="http://lists.osgeo.org/mailman/listinfo/mapguide-users"
 target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
&gt; <br>
&gt; <br>
  <br>
-- <br>
View this message in context: <a moz-do-not-send="true"
 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
 moz-do-not-send="true" href="http://nabble.com/" target="_blank">Nabble.com</a>.<br>
  <br>
_______________________________________________<br>
mapguide-users mailing list<br>
  <a moz-do-not-send="true" href="mailto:mapguide-users@lists.osgeo.org"
 ymailto="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
  <a moz-do-not-send="true"
 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
 moz-do-not-send="true"
 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>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="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">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
  </pre>
</blockquote>
</body>
</html>