<p dir="ltr">The violation of the validity test is a clear violation of specs.<br>
The getprint tag mean the violation.<br>
This is sufficiente</p>
<div class="gmail_quote">Il 07/giu/2014 16:30  <<a href="mailto:redmine@qgis.org">redmine@qgis.org</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
Issue #10489 has been updated by aperi2007 -.

<ul>

</ul>

<p>Hi.</p>


        <p>I confirm that the action described resolve the validity problem.</p>


        <p>I modify the code of qgis-server adding the prefix and the namespace and schemaLocation missed.<br>Also I comment the code for GetStyle and GetPrint in the GetCapability response.</p>


        <p>And voila' the response now is VALID.</p>


        <p>For me is ok .</p>


        <p>Now we have our "qgis-server" compliant with ogc and inspire.</p>


        <p>:))</p>


        <p>Regards.</p>
<hr>
<h1><a href="http://hub.qgis.org/issues/10489" target="_blank">Bug report #10489: QGIS Server getcapabilites response is not WMS compliant !</a></h1>

<ul>
<li>Author: aperi2007 -</li>
<li>Status: Open</li>
<li>Priority: Blocker</li>
<li>Assigned to: </li>
<li>Category: </li>
<li>Target version: </li>

  <li>Platform: </li>

  <li>Platform version: </li>

  <li>Status info: </li>

  <li>Resolution: </li>

  <li>Patch supplied: No</li>

  <li>Affected version: 2.2.0</li>

  <li>Causes crash or corruption: No</li>

  <li>Tag: </li>

</ul>

<p>Hi,</p>


        <p>the response of the QGIS Server trunk version don't seem to be WMS Compliant.</p>


        <p>I tested it using XML Spy Enterprise and it response the GetLegendGraphics is put in wrong place.</p>


        <p>I try using this request:</p>


        <p><a href="http://www502.regione.toscana.it/geoscopio_qg/cgi-bin/qgis_mapserv?map=continuum_geologico_rt.qgs&SERVICE=WMS&request=GetCapabilities&version=1.3.0" target="_blank">http://www502.regione.toscana.it/geoscopio_qg/cgi-bin/qgis_mapserv?map=continuum_geologico_rt.qgs&SERVICE=WMS&request=GetCapabilities&version=1.3.0</a></p>



        <p>Also I attach the image from my xmlspy with hard sentence.</p>


        <p>Perhaps there some setting to set QGIS to response a valid xml for OGC clients ?</p>


        <p>Thx.</p>


<hr>
<span><p>You have received this notification because you have either subscribed to it, or are involved in it.<br>To change your notification preferences, please click here: <a href="http://hub.qgis.org/my/account" target="_blank">http://hub.qgis.org/my/account</a></p>
</span>
</div>

</blockquote></div>