Below is the schema for a single SDF file. 
  (please note: samples for MGOS 2.0 are also not working eventhough I have 
renamed the folder of MGOS 1.2)
   
  −
 <xs:schema targetNamespace="http://fdo.osgeo.org/schemas/feature/SDF_2_Schema"; 
elementFormDefault="qualified" attributeFormDefault="unqualified">
&#8722;
 <xs:annotation>
<xs:documentation>Schema of the Spatial Data File format version 
2.</xs:documentation>
</xs:annotation>
&#8722;
 <xs:element name="TOWNSHIPS" type="SDF_2_Schema:TOWNSHIPSType" 
abstract="false" substitutionGroup="gml:_Feature">
&#8722;
 <xs:key name="TOWNSHIPSKey">
<xs:selector xpath=".//TOWNSHIPS"/>
<xs:field xpath="Autogenerated_SDF_ID"/>
</xs:key>
</xs:element>
&#8722;
 <xs:complexType name="TOWNSHIPSType" abstract="false" fdo:geometryName="Data">
&#8722;
 <xs:complexContent>
&#8722;
 <xs:extension base="gml:AbstractFeatureType">
&#8722;
 <xs:sequence>
&#8722;
 <xs:element name="Data" type="gml:AbstractGeometryType" fdo:hasMeasure="false" 
fdo:hasElevation="false" fdo:geometricTypes="surface " 
fdo:geometryTypes="polygon multipolygon curvepolygon multicurvepolygon ">
&#8722;
 <xs:annotation>
<xs:documentation>The geometry of the object</xs:documentation>
</xs:annotation>
</xs:element>
&#8722;
 <xs:element name="Name" minOccurs="0">
&#8722;
 <xs:annotation>
<xs:documentation>The name of the object</xs:documentation>
</xs:annotation>
&#8722;
 <xs:simpleType>
&#8722;
 <xs:restriction base="xs:string">
<xs:maxLength value=""/>
</xs:restriction>
</xs:simpleType>
</xs:element>
&#8722;
 <xs:element name="Url" minOccurs="0">
&#8722;
 <xs:annotation>
<xs:documentation>The url of the object</xs:documentation>
</xs:annotation>
&#8722;
 <xs:simpleType>
&#8722;
 <xs:restriction base="xs:string">
<xs:maxLength value=""/>
</xs:restriction>
</xs:simpleType>
</xs:element>
&#8722;
 <xs:element name="Key" minOccurs="0">
&#8722;
 <xs:annotation>
<xs:documentation>The key of the object</xs:documentation>
</xs:annotation>
&#8722;
 <xs:simpleType>
&#8722;
 <xs:restriction base="xs:string">
<xs:maxLength value=""/>
</xs:restriction>
</xs:simpleType>
</xs:element>
&#8722;
 <xs:element name="Autogenerated_SDF_ID" fdo:readOnly="true" 
fdo:autogenerated="true">
&#8722;
 <xs:simpleType>
<xs:restriction base="fdo:int32"/>
</xs:simpleType>
&#8722;
 <xs:annotation>
<xs:documentation>Autogenerated identity property</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>

Dave Wilson <[EMAIL PROTECTED]> wrote:
        v\:* {behavior:url(#default#VML);}  o\:* {behavior:url(#default#VML);}  
w\:* {behavior:url(#default#VML);}  .shape {behavior:url(#default#VML);}        
        Ok the error suggests something really bad is happening. After getting 
an unclassified exception itÂ’s probably a good idea to restart the server as 
there may be a possibility of memory corruption.
   
  I would try you test again and see if you can duplicate the error. If you can 
isolate it to a particular layer / feature source, can you either post the 
results of a DescribeSchema from the http://mapguide/mapagent.index.html pages 
under Feature Service for the feature source so that we can see if there is 
anything special about the data types involved. If this happens for any data 
then something else more fundamental is wrong.
   
  Dave
   
    From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Don C. 
MacGregor
Sent: Wednesday, May 21, 2008 2:54 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Custom scripts not working

   
    I am not sure about the exact cause. Below are the line from error log. 
There is only one PHP on my computer that was added to system path. 

    Thanks Dave!

     

     Error: An unclassified exception occurred.
 StackTrace:
  - MgRenderingServiceHandler.ProcessOperation line 83 file 
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp
  - MgOpQueryFeatures.Execute line 125 file 
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\rendering\OpQueryFeatures.cpp
  - MgServerRenderingService.QueryFeatures line 652 file 
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\rendering\ServerRenderingService.cpp
  - MgServerRenderingService.RenderForSelection line 1299 file 
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\rendering\ServerRenderingService.cpp
  - MgServerSelectFeatures.SelectFeatures line 249 file 
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\feature\ServerSelectFeatures.cpp
 An unclassified exception occurred.


Dave Wilson <[EMAIL PROTECTED]> wrote:

      Do you have multiple versions of PHP on your system? Is PHP in your 
system path?

     

    Again if you turn on PHP error  logging or display do you see any errors? 
Are there any MapGuide errors in the error log?

     

    Dave

     

      From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Don C. 
MacGregor
Sent: Wednesday, May 21, 2008 1:55 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Custom scripts not working


     

      Many thanks Dave for your email.


      Easiest example would be Ad Hoc Queries 
http://data.mapguide.com/mapguide/gt/index.php they used to run on my computer 
when was running MGOS 1.2 but once I upgraded to 2.0.1 they dont work. Although 
properties listbox populting all the fields of the selected layer but when I 
run a query it doent work (Please note I didnt even edit the PHP files).


      

Dave Wilson <[EMAIL PROTECTED]> wrote:


        You would have to provide some details on what your custom script does? 
Does it reference any API that may have changed? Do you get an PHP errors? Have 
you enabled PHP error logging or display?


       


      Regards,


      Dave


       


        From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Don C. 
MacGregor
Sent: Wednesday, May 21, 2008 10:13 AM
To: [email protected]
Subject: [mapguide-users] Custom scripts not working



       


        Hi all,



        I recently upgraded MGOS 1.2 to 2.0.1 everything works just fine except 
none of my custom PHP sripts is working. I am using Win2K3, IIS6 and PHP. Does 
anyone know any possible reason?



        Thanks



        


    
---------------------------------
  
      Ask a question on any topic and get answers from real people. Go to 
Yahoo! Answers.


    _______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

     

      

    
---------------------------------
  
    Ask a question on any topic and get answers from real people. Go to Yahoo! 
Answers.

  _______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
   
    
    
---------------------------------
  
  Looking for the perfect gift? Give the gift of Flickr!

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users


       
 
              
---------------------------------
    
       
Yahoo!         Canada Toolbar : Search from anywhere on         the web and 
bookmark your favourite sites. Download it now!          
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to