[Geoserver-devel] [jira] Created: (GEOS-131) DescribeFeatureType request

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=GEOS-131

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: GEOS-131
    Summary: DescribeFeatureType request
       Type: Bug

     Status: Open
   Priority: Major

Original Estimate: Unknown
Time Spent: Unknown
  Remaining: Unknown

    Project: GeoServer
Components:
             WFS
   Versions:
             1.2-beta

   Assignee: Chris Holmes
   Reporter: Miguel Ángel Esbrí Palomares

    Created: Wed, 17 Mar 2004 11:13 AM
    Updated: Wed, 17 Mar 2004 11:13 AM
Environment: geoserver 1.2 beta, os = winxp

Description:
when I make the following request:

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&quot; xmlns:biz="http://www.bizkaia.net/geoserver&quot; xmlns:gml="http://www.opengis.net/gml&quot; xmlns:xs="http://www.w3.org/2001/XMLSchema&quot; elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
  <xs:import namespace="http://www.opengis.net/gml&quot; schemaLocation="gml/2.1.2/feature.xsd" />
- <xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema&quot; 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:

[Error] schema9054034.xsd:2:690: src-resolve: Cannot resolve the name 'gml:AbstractFeatureType' to a(n) 'type definition
' component.
[Error] 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&quot; schemaLocation="gml/2.1.2/feature.xsd" />

the schema location be something like this file:........ /gml/2.1.2/feature.xsd or http://…??

---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira