[TinyOWS-dev] xml isnt valid tinyows log

Mohammed Rashad mohammedrashadkm at gmail.com
Wed Nov 10 08:43:46 EST 2010


http://localhost/cgi-bin/tinyows?service=WFS&request=DescribeFeatureType&version=1.0.0

sometimes I get this ouput correctly as now i got. But sometimes I wont get.
the error usually is


<xs:schema targetNamespace="http://www.tinyows.org/"
elementFormDefault="qualified" version="1.0">
<xs:import namespace="http://www.opengis.net/gml" schemaLocation="
http://schemas.opengis.net/gml/2.1.2/feature.xsd"/>
<xs:element name="world" type="tows:worldType"
substitutionGroup="gml:_Feature"/>
-
<xs:complexType name="worldType">
-
<xs:complexContent>
-
<xs:extension base="gml:AbstractFeatureType">
-
<xs:sequence>
<xs:element name="name" type="string" minOccurs="0" maxOccurs="1"/>
<xs:element name="gmi_cntry" type="string" minOccurs="0" maxOccurs="1"/>
<xs:element name="region" type="string" minOccurs="0" maxOccurs="1"/>
<xs:element name="the_geom" type="gml:GeometryPropertyType" minOccurs="0"
maxOccurs="1"/>
<xs:element name="fieldname" type="string" minOccurs="0" maxOccurs="1"/>
<xs:element name="fieldname11" type="string" minOccurs="0" maxOccurs="1"/>
<xs:element name="fieldname66" type="string" minOccurs="0" maxOccurs="1"/>
<xs:element name="ras" type="string" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="france" type="tows:franceType"
substitutionGroup="gml:_Feature"/>
-
<xs:complexType name="franceType">
-
<xs:complexContent>
-
<xs:extension base="gml:AbstractFeatureType">
-
<xs:sequence>
<xs:element name="id_geofla" type="string" minOccurs="0" maxOccurs="1"/>
<xs:element name="code_chf_l" type="string" minOccurs="0" maxOccurs="1"/>
<xs:element name="nom_chf_l" type="string" minOccurs="0" maxOccurs="1"/>
<xs:element name="x_chf_lieu" type="int" minOccurs="0" maxOccurs="1"/>
<xs:element name="y_chf_lieu" type="int" minOccurs="0" maxOccurs="1"/>
<xs:element name="x_centroid" type="int" minOccurs="0" maxOccurs="1"/>
<xs:element name="y_centroid" type="int" minOccurs="0" maxOccurs="1"/>
<xs:element name="nom_dept" type="string" minOccurs="0" maxOccurs="1"/>
<xs:element name="code_reg" type="string" minOccurs="0" maxOccurs="1"/>
<xs:element name="nom_region" type="string" minOccurs="0" maxOccurs="1"/>
<xs:element name="code_dept" type="string" minOccurs="0" maxOccurs="1"/>
<xs:element name="the_geom" type="gml:GeometryPropertyType" minOccurs="0"
maxOccurs="1"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="frida" type="tows:fridaType"
substitutionGroup="gml:_Feature"/>
-
<xs:complexType name="fridaType">
-
<xs:complexContent>
-
<xs:extension base="gml:AbstractFeatureType">
-
<xs:sequence>
<xs:element name="gfshapeid" type="short" minOccurs="0" maxOccurs="1"/>
<xs:element name="gftypid" type="short" minOccurs="0" maxOccurs="1"/>
<xs:element name="gfname" type="string" minOccurs="0" maxOccurs="1"/>
<xs:element name="the_geom" type="gml:GeometryPropertyType" minOccurs="0"
maxOccurs="1"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>

On Wed, Nov 10, 2010 at 1:25 PM, Olivier Courtin
<olivier.courtin at gmail.com>wrote:

>
> On Nov 9, 2010, at 3:48 PM, Mohammed Rashad wrote:
>
> Hi Mohammed,
>
> > [Tue Nov  9 18:37:19 2010] [ERROR] Element '{
> http://www.w3.org/2001/XMLSchema
> > }import': Failed to parse the XML resource '
> http://localhost/cgi-bin/tinyows?service=WFS&request=DescribeFeatureType&version=1.0.0
> '
> > .
>
>
> Could you provide the response of that request ?
> >
> http://localhost/cgi-bin/tinyows?service=WFS&request=DescribeFeatureType&version=1.0.0
>
> Look like the DescribeFeatureType response itself is not right
>
> --
> Olivier
> _______________________________________________
> TinyOWS-dev mailing list
> TinyOWS-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tinyows-dev
>



-- 
Rashad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/tinyows-dev/attachments/20101110/7ec9d2a1/attachment.htm 


More information about the TinyOWS-dev mailing list