[Geoserver-users] Missing schemas?

Hi all,

I'm running GeoServer 1.6.4 on Windows and I'm having the following
problem:

When I try and validate the output from a GetFeature request, the schema
chain generated by GeoServer refers to a missing document:

  http://server/geoserver/wfs/schemas/gml/3.1.1/base/gml.xsd

However, it *is* available at:

  http://server/geoserver/schemas/gml/3.1.1/base/gml.xsd

I'm guessing I've made a mistake with the config. Can anyone let me
know where?

Many thanks,

Mark Lidstone
Tel: +44 (0)23 80232222; Fax: +44 (0)23 80232891

BMT Cordah Ltd
Grove House
7 Ocean Way
Ocean Village
Southampton
SO14 3TJ

BMT Cordah Ltd.
A member of the BMT group of companies
Registered Office: Investment House, 6 Union Row, Aberdeen AB10 1DQ
Registered in Scotland No. 163413
http://www.bmtcordah.com/
http://www.bmt.org/

The contents of this e-mail and any attachments are intended only for the use of the e-mail addressee(s) shown. If you are not that person, or one of those persons, you are not allowed to take any action based upon it or to copy it, forward, distribute or disclose the contents of it and you should please delete it from your system. BMT Cordah Limited does not accept liability for any errors or omissions in the context of this e-mail or its attachments, which arise as a result of Internet transmission, nor accept liability for statements which are those of the author and not clearly made on behalf of BMT Cordah Limited.

Mark Lidstone ha scritto:

Hi all,

I'm running GeoServer 1.6.4 on Windows and I'm having the following
problem:

When I try and validate the output from a GetFeature request, the schema
chain generated by GeoServer refers to a missing document:

  http://server/geoserver/wfs/schemas/gml/3.1.1/base/gml.xsd

However, it *is* available at:

  http://server/geoserver/schemas/gml/3.1.1/base/gml.xsd

I'm guessing I've made a mistake with the config. Can anyone let me
know where?

Looks more like a bug to me. Are you using a proxy/set a proxy base
by any chance?

Here is a 1.7.0-rc1 (I don't have a 1.6.4 handy) and the GetFeature
request schema location is pointing to the right url:

http://sigma.openplans.org:8080/geoserver/wfs?request=GetFeature&version=1.1.0&typeName=topp:states&propertyName=STATE_NAME,PERSONS

Cheers
Andrea

Hi Andrea,

Many thanks for your reply.

Actually, the example service you linked to is displaying exactly the
same error. The schemaLocation in that document for the featureType is:

http://sigma.openplans.org:8080/geoserver/wfs?service=WFS&version=1.1.0&
request=DescribeFeatureType&typeName=topp:states

And when you look in that schema, it references:

http://sigma.openplans.org:8080/geoserver/wfs/schemas/gml/3.1.1/base/gml
.xsd

which does not exist, although:

http://sigma.openplans.org:8080/geoserver/schemas/gml/3.1.1/base/gml.xsd

does exist. It seems it could be a bug in the schema building?

Many thanks,

Mark Lidstone
Tel: +44 (0)23 80232222; Fax: +44 (0)23 80232891

BMT Cordah Ltd
Grove House
7 Ocean Way
Ocean Village
Southampton
SO14 3TJ

-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com]
Sent: 01 September 2008 16:31
To: Mark Lidstone
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Missing schemas?

Mark Lidstone ha scritto:

Hi all,

I'm running GeoServer 1.6.4 on Windows and I'm having the following
problem:

When I try and validate the output from a GetFeature request, the
schema chain generated by GeoServer refers to a missing document:

  http://server/geoserver/wfs/schemas/gml/3.1.1/base/gml.xsd

However, it *is* available at:

  http://server/geoserver/schemas/gml/3.1.1/base/gml.xsd

I'm guessing I've made a mistake with the config. Can anyone let me
know where?

Looks more like a bug to me. Are you using a proxy/set a proxy base by
any chance?

Here is a 1.7.0-rc1 (I don't have a 1.6.4 handy) and the GetFeature
request schema location is pointing to the right url:

http://sigma.openplans.org:8080/geoserver/wfs?request=GetFeature&version
=1.1.0&typeName=topp:states&propertyName=STATE_NAME,PERSONS

Cheers
Andrea

BMT Cordah Ltd.
A member of the BMT group of companies
Registered Office: Investment House, 6 Union Row, Aberdeen AB10 1DQ
Registered in Scotland No. 163413
http://www.bmtcordah.com/
http://www.bmt.org/

The contents of this e-mail and any attachments are intended only for the use of the e-mail addressee(s) shown. If you are not that person, or one of those persons, you are not allowed to take any action based upon it or to copy it, forward, distribute or disclose the contents of it and you should please delete it from your system. BMT Cordah Limited does not accept liability for any errors or omissions in the context of this e-mail or its attachments, which arise as a result of Internet transmission, nor accept liability for statements which are those of the author and not clearly made on behalf of BMT Cordah Limited.

Hi Mark,

Indeed you are correct, this is a bug in version 1.7.x as well. Opening an issue report for it.

http://jira.codehaus.org/browse/GEOS-2191

-Justin

Mark Lidstone wrote:

Hi Andrea,

Many thanks for your reply.

Actually, the example service you linked to is displaying exactly the
same error. The schemaLocation in that document for the featureType is:

http://sigma.openplans.org:8080/geoserver/wfs?service=WFS&version=1.1.0&
request=DescribeFeatureType&typeName=topp:states

And when you look in that schema, it references:

http://sigma.openplans.org:8080/geoserver/wfs/schemas/gml/3.1.1/base/gml
.xsd

which does not exist, although:

http://sigma.openplans.org:8080/geoserver/schemas/gml/3.1.1/base/gml.xsd

does exist. It seems it could be a bug in the schema building?

Many thanks,

Mark Lidstone
Tel: +44 (0)23 80232222; Fax: +44 (0)23 80232891
BMT Cordah Ltd Grove House
7 Ocean Way
Ocean Village
Southampton
SO14 3TJ

-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com] Sent: 01 September 2008 16:31
To: Mark Lidstone
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Missing schemas?

Mark Lidstone ha scritto:

Hi all,

I'm running GeoServer 1.6.4 on Windows and I'm having the following
problem:

When I try and validate the output from a GetFeature request, the schema chain generated by GeoServer refers to a missing document:

  http://server/geoserver/wfs/schemas/gml/3.1.1/base/gml.xsd

However, it *is* available at:

  http://server/geoserver/schemas/gml/3.1.1/base/gml.xsd

I'm guessing I've made a mistake with the config. Can anyone let me know where?

Looks more like a bug to me. Are you using a proxy/set a proxy base by
any chance?

Here is a 1.7.0-rc1 (I don't have a 1.6.4 handy) and the GetFeature
request schema location is pointing to the right url:

http://sigma.openplans.org:8080/geoserver/wfs?request=GetFeature&version
=1.1.0&typeName=topp:states&propertyName=STATE_NAME,PERSONS

Cheers
Andrea

BMT Cordah Ltd.
A member of the BMT group of companies
Registered Office: Investment House, 6 Union Row, Aberdeen AB10 1DQ
Registered in Scotland No. 163413
http://www.bmtcordah.com/
http://www.bmt.org/

The contents of this e-mail and any attachments are intended only for the use of the e-mail addressee(s) shown. If you are not that person, or one of those persons, you are not allowed to take any action based upon it or to copy it, forward, distribute or disclose the contents of it and you should please delete it from your system. BMT Cordah Limited does not accept liability for any errors or omissions in the context of this e-mail or its attachments, which arise as a result of Internet transmission, nor accept liability for statements which are those of the author and not clearly made on behalf of BMT Cordah Limited.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Justin Deoliveira
Software Engineer, OpenGeo
http://opengeo.org