[Geoserver-users] Wrong GML schemaLocation

Hi,

when doing a WFS describeFeatureType, the response insists that the gml namespace is
http://x.x.x.x:8080/geoserver/wfs/schemas/gml/3.1.1/base/gml.xsd”. This yields a “no mapping for”
-error, since geoserver probably tries to feed the request into the dispatcher.

I believe the correct URI is “http://x.x.x.x:8080/geoserver/schemas/gml/3.1.1/base/gml.xsd”,
at least that gives me the schema ? (removing the wfs-part).

Is there any way to get around this ?

Regards,

Oyvind Idland

Hi Oyvind,

You are correct about the URI. There is no real easy way to get around this. Which version of GeoServer are you using?

Oyvind Idland wrote:

Hi,

when doing a WFS describeFeatureType, the response insists that the gml namespace is
"http://x.x.x.x:8080/geoserver/wfs/schemas/gml/3.1.1/base/gml.xsd"\. This yields a "no mapping for"
-error, since geoserver probably tries to feed the request into the dispatcher.

I believe the correct URI is "http://x.x.x.x:8080/geoserver/schemas/gml/3.1.1/base/gml.xsd",
at least that gives me the schema ? (removing the wfs-part).

Is there any way to get around this ?

Regards,

Oyvind Idland
!DSPAM:4007,48527851316748992556831!

------------------------------------------------------------------------

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

!DSPAM:4007,48527851316748992556831!

------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,48527851316748992556831!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Hi,

thanks for fast response.

I am currently using 1.6.4-stable.

Is this issue fixed in the 1.7.0 beta1 version ?

On Fri, Jun 13, 2008 at 4:47 PM, Justin Deoliveira <jdeolive@anonymised.com> wrote:

Hi Oyvind,

You are correct about the URI. There is no real easy way to get around this. Which version of GeoServer are you using?

Oyvind Idland wrote:

Hi,

when doing a WFS describeFeatureType, the response insists that the gml namespace is
http://x.x.x.x:8080/geoserver/wfs/schemas/gml/3.1.1/base/gml.xsd”. This yields a “no mapping for”
-error, since geoserver probably tries to feed the request into the dispatcher.

I believe the correct URI is “http://x.x.x.x:8080/geoserver/schemas/gml/3.1.1/base/gml.xsd”,
at least that gives me the schema ? (removing the wfs-part).

Is there any way to get around this ?

Regards,

Oyvind Idland

!DSPAM:4007,48527851316748992556831!



Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

!DSPAM:4007,48527851316748992556831!



Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,48527851316748992556831!


Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Ok, i have verified this problem. And it appears both on 1.6.4 and 1.7.0-beta1. I am filing a bug report for this:

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

I should also note that this is only an issue with wfs 1.1, a dft request in wfs 1.0 does the correct thing.

Thanks for the bug report. The fix is trivial so i will fix it quite soon. If you want to grab a nightly build of 1.6.x feel free to do so. It will be up tommorrow, or i can generate you one manually if you want.

-Justin

Oyvind Idland wrote:

Hi,

thanks for fast response.

I am currently using 1.6.4-stable.

Is this issue fixed in the 1.7.0 beta1 version ?

On Fri, Jun 13, 2008 at 4:47 PM, Justin Deoliveira <jdeolive@anonymised.com <mailto:jdeolive@anonymised.com>> wrote:

    Hi Oyvind,

    You are correct about the URI. There is no real easy way to get
    around this. Which version of GeoServer are you using?

    Oyvind Idland wrote:

        Hi,

        when doing a WFS describeFeatureType, the response insists that
        the gml namespace is
        "http://x.x.x.x:8080/geoserver/wfs/schemas/gml/3.1.1/base/gml.xsd&quot;\.
        This yields a "no mapping for"
        -error, since geoserver probably tries to feed the request into
        the dispatcher.

        I believe the correct URI is
        "http://x.x.x.x:8080/geoserver/schemas/gml/3.1.1/base/gml.xsd&quot;,
        at least that gives me the schema ? (removing the wfs-part).

        Is there any way to get around this ?

        Regards,

        Oyvind Idland

        ------------------------------------------------------------------------

        -------------------------------------------------------------------------
        Check out the new SourceForge.net Marketplace.
        It's the best place to buy or sell services for
        just about anything Open Source.
        http://sourceforge.net/services/buy/index.php

        !DSPAM:4007,48527851316748992556831!

        ------------------------------------------------------------------------

        _______________________________________________
        Geoserver-users mailing list
        Geoserver-users@lists.sourceforge.net
        <mailto:Geoserver-users@lists.sourceforge.net>
        https://lists.sourceforge.net/lists/listinfo/geoserver-users

        !DSPAM:4007,48527851316748992556831!

    -- Justin Deoliveira
    The Open Planning Project
    jdeolive@anonymised.com <mailto:jdeolive@anonymised.com>

!DSPAM:4007,48528a4b36841012714783!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Thanks alot, appreciated ! :smiley:

  • Oyvind

On Fri, Jun 13, 2008 at 5:25 PM, Justin Deoliveira <jdeolive@anonymised.com> wrote:

Ok, i have verified this problem. And it appears both on 1.6.4 and 1.7.0-beta1. I am filing a bug report for this:

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

I should also note that this is only an issue with wfs 1.1, a dft request in wfs 1.0 does the correct thing.

Thanks for the bug report. The fix is trivial so i will fix it quite soon. If you want to grab a nightly build of 1.6.x feel free to do so. It will be up tommorrow, or i can generate you one manually if you want.

-Justin

Oyvind Idland wrote:

Hi,

thanks for fast response.

I am currently using 1.6.4-stable.

Is this issue fixed in the 1.7.0 beta1 version ?

On Fri, Jun 13, 2008 at 4:47 PM, Justin Deoliveira <jdeolive@anonymised.com mailto:[jdeolive@anonymised.com](mailto:jdeolive@anonymised.com)> wrote:

Hi Oyvind,

You are correct about the URI. There is no real easy way to get
around this. Which version of GeoServer are you using?

Oyvind Idland wrote:

Hi,

when doing a WFS describeFeatureType, the response insists that
the gml namespace is
http://x.x.x.x:8080/geoserver/wfs/schemas/gml/3.1.1/base/gml.xsd”.
This yields a “no mapping for”
-error, since geoserver probably tries to feed the request into
the dispatcher.

I believe the correct URI is
http://x.x.x.x:8080/geoserver/schemas/gml/3.1.1/base/gml.xsd”,
at least that gives me the schema ? (removing the wfs-part).

Is there any way to get around this ?

Regards,

Oyvind Idland



Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

!DSPAM:4007,48527851316748992556831!



Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net

mailto:[Geoserver-users@lists.sourceforge.net](mailto:Geoserver-users@lists.sourceforge.net)

https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,48527851316748992556831!

– Justin Deoliveira
The Open Planning Project

jdeolive@anonymised.com mailto:[jdeolive@anonymised.com](mailto:jdeolive@anonymised.com)

!DSPAM:4007,48528a4b36841012714783!


Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com