Hello all, I investigated a little bit this issue and it seems to me that the problem come from the "xsi:type" element that not refers to a definition.
I get this error: Namespace prefix xsi for type on MandatoryKeyword is not defined But with firefox: Erreur d'analyse XML : préfixe non lié à un espace de noms Emplacement : file:///home/yjacolin/Documents/Projets/ifremer_sextant_support/mapserver_inspire/oceanographie_physique_1.1.1.xml Numéro de ligne 140, Colonne 5 : <inspire_common:MandatoryKeyword xsi:type='inspire_common:classificationOfSpatialDataService'> And another one with Chrome. Is this correct or I am completly wrong? Thanks, Y. 2014-01-29 Stephan Meißl <step...@meissl.name> > On 01/29/2014 02:59 PM, Rahkonen Jukka (Tike) wrote: > > Hi, > > > > So where is the bug? In OpenJUMP, SAX, Mapserver, the configuration in > Toscane, or in Inspire? > > If my suspicion is true then SAX would be needed to be extended to also > use the element definitions included directly in the capabilities > document. I guess there would also be a work around in OpenJUMP possible > as I did in libxml2. > > cu > Stephan > > > > > -Jukka Rahkonen- > > > > Stephan Meißl wrote > >> Lähetetty: 29. tammikuuta 2014 15:48 > >> Vastaanottaja: mapserver-users@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.rahko...@mmmtike.fi > >>> <mailto:jukka.rahko...@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@lists.osgeo.org > >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > > _______________________________________________ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- Responsable Formation et Support Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel (France) : +33 4 79 26 57 98 Tel (Suisse) : 021 619 10 43 Mob. : +33 6 18 75 42 21 Fax : 04 79 70 15 81 Mail : yves.jaco...@camptocamp.com http://www.camptocamp.com
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users