Michaël Michaud wrote: > In the adress given by Uwe, for example, last layer name is not parsed > correctly, but I could not find a way > to get a valid answer in the browser if I pass Uwe's url + > "SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities"
I see that you have not yet worked a lot with WMS. The WMS 1.x standard says that the MIME type of GetCapabilities is "application/vnd.ogc.wms_xml" That is not known by browsers and therefore the XML content does not show but browser wants to save the result on a disk. Save is and open with text editor and you will do fine. Sometimes the suggested file name is for example "mapserv.exe" which may feel odd. It is still plain text. -Jukka- > Situation with WMS servers is unfortunately not very good and they do not all > behave in a similar way. Right now I could check only Mapserver 6.0 with the > Finnish default Windows settings. Headers say > Content-Type: text/xml (WMS 1.3.0) or > Content-Type: application/vnd.ogc.wms_xml (WMS 1.1.1). > > For both versions the XML document starts as > <?xml version='1.0' encoding="ISO-8859-1" In this case, I suppose that parsing the xml document as ISO-8859-1 should do the trick. have to check if DOMParser can be configured to be encoding aware. Michaël > > > > -Jukka- > > > > ..ede > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel