DescribeFeatureType request

Description

when I make the following request:

http://picasso.dlsi.uji.es:8080/geoserver/wfs?request=DescribeFeatureType&typename=biz:zero - http://picasso.dlsi.uji.es:8080/geoserver/wfs?request=DescribeFeatureType&typename=biz:zero

I get this:

<?xml version="1.0" encoding="UTF-8" ?>

  • <xs:schema targetNamespace="http://www.bizkaia.net/geoserver" xmlns:biz="http://www.bizkaia.net/geoserver" xmlns:gml="http://www.opengis.net/gml" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
    <xs:import namespace="http://www.opengis.net/gml" schemaLocation="gml/2.1.2/feature.xsd" />
    * <xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="zero_Type">
    * <xs:complexContent>
    * <xs:extension base="gml:AbstractFeatureType">
    * <xs:sequence>
    <xs:element name="id" minOccurs="0" nillable="true" type="xs:long" />
    <xs:element name="feattyp" minOccurs="0" nillable="true" type="xs:int" />
    <xs:element name="frc" minOccurs="0" nillable="true" type="xs:int" />
    <xs:element name="name" minOccurs="0" nillable="true" type="xs:string" />
    <xs:element name="namelc" minOccurs="0" nillable="true" type="xs:string" />
    <xs:element name="sol" minOccurs="0" nillable="true" type="xs:int" />
    <xs:element name="routenum" minOccurs="0" nillable="true" type="xs:string" />
    <xs:element name="the_geom" minOccurs="0" nillable="true" type="gml:MultiLineStringPropertyType" />
    </xs:sequence>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    <xs:element name="zero" type="zero_Type" substitutionGroup="gml:_Feature" />
    </xs:schema>

Then I try to validate the schema and get this error:

'type definition
' component.
schema9054034.xsd:2:3523: src-resolve.4.2: Error resolving component 'nw_Type'. It was detected that 'nw_Type' i
s in namespace 'http://www.w3.org/2001/XMLSchema', but components from this namespace are not referenceable from schema
document 'file:/E:/programas/jakarta-tomcat-5.0.19/temp/schema9054034.xsd'. If this is the incorrect namespace, perhaps
the prefix of 'nw_Type' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should b
e added to 'file:/E:/programas/jakarta-tomcat-5.0.19/temp/schema9054034.xsd'.

So, I think that maybe something related to this:
<xs:import namespace="http://www.opengis.net/gml" schemaLocation="gml/2.1.2/feature.xsd" />

the schema location be something like this [file:] - http://....??

Environment

None

Activity

codehaus 
April 10, 2015 at 4:33 PM

CodeHaus Comment From: cholmes - Time: Mon, 29 Mar 2004 00:23:25 -0600
---------------------
<p>Fixed in cvs.</p>

Fixed

Details

Assignee

Reporter

Affects versions

Components

Priority

Created March 17, 2004 at 4:13 PM
Updated October 31, 2015 at 4:51 PM
Resolved May 26, 2015 at 2:33 PM