[mapguide-users] DB XML Component Error in Dynamic Theming

Rahul unicorn_admirer at yahoo.com
Thu Mar 20 01:04:26 EDT 2008


Hi,
     I tried the 1.2 Viewer Samples but unable to get going and the same error -DB XML Component 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  theming in the MapGuide Studio 2008 , 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.

Thks
Max



----- Original Message ----
From: Jackie Ng <jackie.ng at aecsystems.com.au>
To: mapguide-users at lists.osgeo.org
Sent: Wednesday, March 19, 2008 8:17:55 AM
Subject: Re: [mapguide-users] DB XML Component Error in Dynamic Theming


If I recall:

1 - The Generic Tasks sample was built for MGOS 1.1.0
2 - I think there were schema changes to LayerDefinition in MGOS 1.2.0

Maybe try the 1.2 viewer samples, as are basically the updated version of
the Generic Tasks sample.

- Jackie


max_samart wrote:
> 
> Hi ,
> 
>      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.
> 
> Thks
> Max
> 
> 
> 
> ----- Original Message ----
> From: Jackie Ng <jackie.ng at aecsystems.com.au>
> To: mapguide-users at lists.osgeo.org
> Sent: Monday, March 17, 2008 10:25:43 PM
> Subject: Re: [mapguide-users] DB XML Component Error in Dynamic Theming
> 
> 
> It sounds like the layer definition xml does not validate. Are you able to
> capture the xml output of the theme layer and see if it is a valid
> LayerDefinition document?
> 
> Also, what version of MapGuide are you using?
> 
> - Jackie
> 
> 
> max_samart wrote:
>> 
>> Hi All,
>>          I have some sdf files as Polygons and when i want to use the
>> Dynamic Theming(GT Example), its use to give  mgdbxmlexception error,
>> although I can do dynamic theming on some other sdf layers in the map but
>> on some layers i am getting exception with pid terminated with exit
>> status'0' .Can anybody give some idea reagarding the same in order to
>> proceed further .
>> 
>> Thks
>> Max !!
>> ------------------------------------------------------------------------------------------------------
>> ERROR IN THE MAPGUIDE SERVER
>> 
>> <2008-03-18T14:43:57>    Officer Error: An exception occurred in DB XML
>> component. 
>> Error: XML Indexer:  Parse error in document at line, 61, char 12. Parser
>> message: 
>> Not enough elements to match content model  
>> '((LineStyle,Thickness,Color,Unit,SizeContext),ExtendedData1)'
>>  StackTrace:
>>  - MgResourceServiceHandler.ProcessOperation line 80 file
>> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\ResourceServiceHandler.cpp
>>  - MgOpSetResource.Execute line 109 file
>> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\OpSetResource.cpp
>>  - MgServerResourceService.SetResource line 728 file
>> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\ServerResourceService.cpp
>>  - MgRepositoryManager.SetResource line 867 file
>> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\RepositoryManager.cpp
>>  - MgRepositoryManager.AddResource line 840 file
>> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\RepositoryManager.cpp
>>  - MgResourceContentManager.AddResource line 183 file
>> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\ResourceContentManager.cpp
>>  - MgResourceContentManager.PutDocument line 624 file
>> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\ResourceContentManager.cpp
>>  - MgResourceDefinitionManager.PutDocument line 554 file
>> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\resource\ResourceDefinitionManager.cpp
>> An exception occurred in DB XML component.
>> Error: XML Indexer:  Parse error in document at line, 61, char 12. Parser
>> message: Not enough elements to match content model :
>> '((LineStyle,Thickness,Color,Unit,SizeContext),ExtendedData1)'
>> 
>> 
>> ERROR in the WebServer-
>> 
>> [Tue Mar 18 14:43:20 2008] [warn] FastCGI: (dynamic) server "D:/Program
>> Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe"
>> (pid 4088) terminated with exit with status '0'
>> [Tue Mar 18 14:43:37 2008] [error] [client 10.0.y.y] FastCGI: server
>> "D:/Program Files/MapGuideOpenSource/WebServerExtensions/Php/php-cgi.exe"
>> stderr: PHP Fatal error:  Uncaught exception 'mgdbxmlexception' in
>> Unknown
>> on line 0, referer:
>> http://10.0.x.x:8008/mapguide/Officers/theme/thememain.php
>> [Tue Mar 18 14:43:57 2008] [error] [client 10.0.z.z] FastCGI: server
>> "D:/Program Files/MapGuideOpenSource/WebServerExtensions/Php/php-cgi.exe"
>> stderr: PHP Fatal error:  Uncaught exception 'mgdbxmlexception' in
>> Unknown
>> on line 0, referer:
>> http://10.0.x.x:8008/mapguide/Officers/theme/thememain.php
>> 
>> 
>>      
>> ____________________________________________________________________________________
>> Never miss a thing.  Make Yahoo your home page. 
>> http://www.yahoo.com/r/hs
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/DB-XML-Component-Error-in-Dynamic-Theming-tp16117523s16610p16118026.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 
>      
> ____________________________________________________________________________________
> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile.  Try it now. 
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://www.nabble.com/DB-XML-Component-Error-in-Dynamic-Theming-tp16117523s16610p16135228.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080319/7cb68d63/attachment.html


More information about the mapguide-users mailing list