<!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">
That means that the Xml document that you are trying to store in the
server is invalid.<br>
The message indicates that line 61 is related to the error.<br>
<br>
The details:<br>
Not enough elements to match content model
((LineStyle,Thickness,Color,Unit,SizeContext),ExtendedData1)<br>
Means that the element at line 61 is supposed to have the above items,
but does not.<br>
<br>
There are currently three versions of the LayerDefinition.xsd which is
being validated against (1.0, 1.1 and 1.2).<br>
The version can be read from the very first tag's "version" attribute.
Version 1.0 does not have a "version" attribute.<br>
It is likely that your Xml is a different version than the one being
validated against.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth, GEOGRAF A/S
</pre>
<br>
<br>
Rahul skrev:
<blockquote cite="mid:849451.88049.qm@web34508.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> 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 moz-do-not-send="true"
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" <a class="moz-txt-link-rfc2396E" href="mailto:ks@geograf.dk"><ks@geograf.dk></a><br>
To: MapGuide Users Mail List <a class="moz-txt-link-rfc2396E" href="mailto:mapguide-users@lists.osgeo.org"><mapguide-users@lists.osgeo.org></a><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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true" 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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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
moz-do-not-send="true" href="http://nabble.com/" target="_blank"
rel="nofollow">Nabble.com</a>.<br>
> <br>
> _______________________________________________<br>
> mapguide-users mailing list<br>
> <a moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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
moz-do-not-send="true" href="http://nabble.com/" target="_blank"
rel="nofollow">Nabble.com</a>.<br>
<br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 size="4" width="90%">
_______________________________________________
mapguide-users mailing list
<a moz-do-not-send="true" 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 moz-do-not-send="true" 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 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>
</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>