I have a copy of the GeoServer installed in my local machine and when I do a
"describeFeatureType" on one of the installed data layers I do not see a
reference to the xsd namespace. How do I add this ?

My describeFeatureType gets this:

<xsd:schema elementFormDefault="qualified"
targetNamespace="http://mynamespace";>
<xsd:import namespace="http://www.opengis.net/gml";
schemaLocation="http://localhost-tjs:8080/geoserver/schemas/gml/3.1.1/base/gml.xsd"/>
<xsd:complexType name="tjs_some_dataType">
<xsd:complexContent>
<xsd:extension base="gml:AbstractFeatureType">
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="cell" nillable="true"
type="gml:GeometryPropertyType"/>
<xsd:element maxOccurs="1" minOccurs="0" name="time" nillable="true"
type="xsd:dateTime"/>
<xsd:element maxOccurs="1" minOccurs="0" name="end_time" nillable="true"
type="xsd:dateTime"/>
<xsd:element maxOccurs="1" minOccurs="0" name="speed" nillable="true"
type="xsd:double"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="tjs_some_data" substitutionGroup="gml:_Feature"
type="pyxis:tjs_some_dataType"/>
</xsd:schema>


I want the request to also return the this line:
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"; >

like this:

<xsd:schema elementFormDefault="qualified"
targetNamespace="http://mynamespace";>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"; >
<xsd:import namespace="http://www.opengis.net/gml";
schemaLocation="http://localhost-tjs:8080/geoserver/schemas/gml/3.1.1/base/gml.xsd"/>
<xsd:complexType name="tjs_some_dataType">
<xsd:complexContent>
<xsd:extension base="gml:AbstractFeatureType">
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="cell" nillable="true"
type="gml:GeometryPropertyType"/>
<xsd:element maxOccurs="1" minOccurs="0" name="time" nillable="true"
type="xsd:dateTime"/>
<xsd:element maxOccurs="1" minOccurs="0" name="end_time" nillable="true"
type="xsd:dateTime"/>
<xsd:element maxOccurs="1" minOccurs="0" name="speed" nillable="true"
type="xsd:double"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="tjs_some_data" substitutionGroup="gml:_Feature"
type="pyxis:tjs_some_dataType"/>
</xsd:schema>


How do i configure the GeoServer to add this line ?



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/where-is-the-reference-to-xsd-in-decribeFeatureType-tp4649986p4649986.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to