[mapserver-users] XML parsing error with extended Inspire WMS 1.1.1 capabilities
Rahkonen Jukka (Tike)
jukka.rahkonen at mmmtike.fi
Wed Jan 29 05:59:02 PST 2014
Hi,
So where is the bug? In OpenJUMP, SAX, Mapserver, the configuration in Toscane, or in Inspire?
-Jukka Rahkonen-
Stephan Meißl wrote
> Lähetetty: 29. tammikuuta 2014 15:48
> Vastaanottaja: mapserver-users at lists.osgeo.org
> Aihe: Re: [mapserver-users] XML parsing error with extended Inspire WMS 1.1.1
> capabilities
>
> Hi,
>
> maybe the problem is that the inspire related elements are defined directly in the
> capabilities document and not in the referenced DTD [1] and thus not found by
> SAX.
>
> Merging the definitions into one document and using it with libxml2 successfully
> validates the capabilities provided in autotest.
>
> cu
> Stephan
>
> [1] http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd
>
>
> On 01/29/2014 10:47 AM, Yves Jacolin wrote:
> > Hello,
> >
> > I have the same issue. It seems that namespace header are not correct
> > (just a guess, I could be wrong).
> >
> > Changing wms_inspire_capabilities from "embed" to "url" make a correct
> > GetCapabilities.
> >
> > I can fill an issue and add some simple mapfile if needed.
> >
> > Regards,
> >
> > Y.
> >
> >
> > 2013-11-25 Rahkonen Jukka <jukka.rahkonen at mmmtike.fi
> > <mailto:jukka.rahkonen at mmmtike.fi>>
> >
> > Hi,
> >
> > The SAX parser in OpenJUMP reports an error when trying to read the
> > GetCapabilities from Mapserver 6.5-dev based WMS service of Toscana.
> > The URL to use is
> >
> >
> http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=
> wm
> > sctr&service=WMS&version=1.1.1&request=GetCapabilities
> >
> > The error from the parser is:
> >
> > IOException: org.xml.sax.SAXParseException: The prefix "xsi" for
> > attribute "xsi:type"
> > associated with an element type "inspire_common:MandatoryKeyword" is
> > not bound.
> >
> > WMS 1.1.0 works OK (probably because GetCapabilities come without
> > Inspire stuff) as well as WMS 1.3.0.
> >
> > -Jukka Rahkonen-
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list