[Geoserver-devel] invalid element error

Hi all,
Lately I am working on the DescribeFeatureType web service. The client uses the function WFSBasicDescribeFeatureType.

I keep getting org.xml.sax.SAXException invalid element, which complains about “import”. “import” is one of the element in the responded xml:

soapenv:Body
<xs:schema targetNamespace=“http://www.openplans.org/topp” xmlns:topp=“http://www.openplans.org/topp” 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="

The server runs well. The tcpmon got request and response for DescribeFeatureType.
Could anyone throw some light on that?
I would appreciate it very much.

Best Regards,
Sophie

==========================
Sophie Wang
Software Engineer
Polexis
A SYS Technologies Company
Direct: 858-244-7415
http://www.polexis.com

Hi Sophie,

I think i found a related bug a couple days ago
(http://jira.codehaus.org/browse/GEOS-189). Your parser is really
complaining that it cannot resolve the gml schema location (I think).
Try hitting the url directly inside mozila to ensure the schema location
is valid.

Hope this helps, David

On Wed, 2004-07-07 at 10:11, Sophie Wang wrote:

Hi all,
   Lately I am working on the DescribeFeatureType web service. The
client uses the function WFSBasicDescribeFeatureType.

   I keep getting org.xml.sax.SAXException invalid element, which
complains about "import". "import" is one of the element in the
responded xml:

     <soapenv:Body>
         <xs:schema targetNamespace="http://www.openplans.org/topp&quot;
xmlns:topp="http://www.openplans.org/topp&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="

      ......

   The server runs well. The tcpmon got request and response for
DescribeFeatureType.
   Could anyone throw some light on that?
   I would appreciate it very much.

Best Regards,
Sophie

==========================
Sophie Wang
Software Engineer
Polexis
A SYS Technologies Company
Direct: 858-244-7415
http://www.polexis.com