<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.Shkpostityyli17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FI" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">It seems that there is already some XML parser involved. With browser you should do right click – view page source before
 saving. Or use curl and download the response directly into a file<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">curl -o get_cap.txt "http://10.210.1.32:8080/Apache/cgi-bin/mapserv.exe?MAP=C:/ms4w/map/fond_mapserver.map&service=WMS&version=1.3.0&request=GetCapabilities"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">If your problem deals with titles or abstracts in your mapfile, comment them all out first, check if GetCapabilities work,
 and start adding them back one be one. You will soon find which title makes problem.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">-Jukka Rahkonen-<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">mathias cunault wrote:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">Re: [mapserver-users] Can't get capabilities xml error message<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:18.0pt;font-family:"Verdana",sans-serif">My mapfile is in UTF8 since the start.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18.0pt;font-family:"Verdana",sans-serif">If saving the GetCapabilities response means right clic and save as mapserv.exe.xml, then here is the full response :<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18.0pt;font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class="MsoNormal"><span style="font-size:18.0pt;font-family:"Arial",sans-serif">​​</span><span style="font-size:18.0pt;font-family:"Verdana",sans-serif"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</blockquote>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:"Verdana",sans-serif"><?xml version="1.0" encoding="UTF-8" standalone="no"?></span><o:p></o:p></p>
</blockquote>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:"Verdana",sans-serif"><?xml-stylesheet href="mapserv.exe_fichiers/intl.css" type="text/css"?></span><o:p></o:p></p>
</blockquote>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:"Verdana",sans-serif"><parsererror xmlns="<a href="http://www.mozilla.org/newlayout/xml/parsererror.xml">http://www.mozilla.org/newlayout/xml/parsererror.xml</a>">Erreur d’analyse XML : balise non
 fermée</span><o:p></o:p></p>
</blockquote>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:"Verdana",sans-serif">Emplacement :
<a href="http://10.210.1.32:8080/cgi-bin/mapserv.exe?map=C">http://10.210.1.32:8080/cgi-bin/mapserv.exe?map=C</a>:\ms4w\map\fond_mapserver.map&amp;VERSION=1.3.0&amp;SERVICE=WMS&amp;REQUEST=GetCapabilities&amp;</span><o:p></o:p></p>
</blockquote>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:"Verdana",sans-serif">Numéro de ligne 144, Colonne 9 :<sourcetext>        &lt;Title</span><o:p></o:p></p>
</blockquote>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:"Verdana",sans-serif">--------^</sourcetext></parsererror></span><o:p></o:p></p>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:18.0pt;font-family:"Arial",sans-serif">​</span><span style="font-size:18.0pt;font-family:"Verdana",sans-serif">That's all. No line 144...<o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:18.0pt;font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:18.0pt;font-family:"Verdana",sans-serif">Am i right ?</span><span style="font-size:18.0pt;font-family:"Arial",sans-serif">​</span><span style="font-size:18.0pt;font-family:"Verdana",sans-serif"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18.0pt;font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">2016-11-23 11:34 GMT+01:00 Rahkonen Jukka (MML) <<a href="mailto:jukka.rahkonen@maanmittauslaitos.fi" target="_blank">jukka.rahkonen@maanmittauslaitos.fi</a>>:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">Hi,<br>
<br>
Save the GetCapabilities response on the disk, open it with text editor and see what there is on the line 144 at place 17. But did you already convert your mapfile into UTF8? You must do it anyways so do it now before making any other changes.<br>
<br>
-Jukka Rahkonen-<br>
<br>
<br>
<br>
Leehan wrote:<br>
Re: [mapserver-users] Can't get capabilities xml error message<br>
<br>
>I made the change you have suggested.<br>
It has just changed the error message :<br>
"Numéro de ligne 144, colonne 17 :<br>
---------<Title>p"<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Can-t-get-capabilities-xml-error-message-tp5296958p5297075.html" target="_blank">
http://osgeo-org.1560.x6.nabble.com/Can-t-get-capabilities-xml-error-message-tp5296958p5297075.html</a><br>
Sent from the Mapserver - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><i>----------</i><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><i>Mathias Cunault</i><o:p></o:p></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><i><span style="font-size:10.0pt">chargé d’opération et de recherche<br>
Inrap Tours - 148 av. Maginot<br>
37000 TOURS<br>
06 32 05 98 96<br>
<u><a href="mailto:mathias.cunault@inrap.fr" target="_blank">mathias.cunault@inrap.fr</a></u></span></i><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="http://www.inrap.fr" target="_blank">www.inrap.fr</a><br>
<span style="font-size:7.5pt">abonnez-vous à la lettre d'information de l'Inrap :
<a href="http://www.inrap.fr/newsletter.php" target="_blank">http://www.inrap.fr/newsletter.php</a></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;color:#666666">Darth Mathias : "Topology is a pathway to many abilities some consider to be unnatural"</span><span style="font-size:9.5pt"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:7.5pt;color:#666666">Padwan : "Is it possible to learn this power ?"</span><span style="font-size:9.5pt"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:7.5pt;color:#666666">Darth Mathias : "Not from an archaeologist !"</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>