<div dir="ltr"><div dir="ltr">Hi,<div>I think this is a small bug, but not if it depends on OGR or the server I query.</div><div><br></div><div>If I run</div><div><br></div><div>ogrinfo --debug on -ro -al "CSW:<a href="http://geodati.gov.it/RNDT/csw">http://geodati.gov.it/RNDT/csw</a>" -where "subject LIKE 'salute'"<br></div><div><br></div><div>I have the below XML query:</div><div><br></div><div><?xml version="1.0" encoding="UTF-8"?><br><csw:GetRecords resultType="results" service="CSW" version="2.0.2" startPosition="1" maxRecords="500" xmlns:csw="<a href="http://www.opengis.net/cat/csw/2.0.2">http://www.opengis.net/cat/csw/2.0.2</a>" xmlns:gml="<a href="http://www.opengis.net/gml">http://www.opengis.net/gml</a>" xmlns:dc="<a href="http://purl.org/dc/elements/1.1/">http://purl.org/dc/elements/1.1/</a>" xmlns:dct="<a href="http://purl.org/dc/terms/">http://purl.org/dc/terms/</a>" xmlns:ogc="<a href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</a>" xmlns:ows="<a href="http://www.opengis.net/ows">http://www.opengis.net/ows</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" xsi:schemaLocation="<a href="http://www.opengis.net/cat/csw/2.0.2">http://www.opengis.net/cat/csw/2.0.2</a> <a href="http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd">http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd</a>"><br>  <csw:Query typeNames="csw:Record"><br>    <csw:ElementSetName>full</csw:ElementSetName><br>    <csw:Constraint version="1.1.0"><br>      <ogc:Filter><br>        <ogc:PropertyIsLike wildCard='*' singleChar='_' escapeChar='!'><br>          <ogc:PropertyName>dc:subject</ogc:PropertyName><br>          <ogc:Literal>salute</ogc:Literal><br>        </ogc:PropertyIsLike><br>      </ogc:Filter><br>    </csw:Constraint><br>  </csw:Query><br></csw:GetRecords><br></div><div><br></div><div>As you can see we have single quotes in</div><div><ogc:PropertyIsLike wildCard='*' singleChar='_' escapeChar='!'><br></div><div><br></div><div>For reasons of uniformity and consistency I think here too there should be double quotes.</div><div>Am I wrong?</div><div>If not, could I open an issue?</div><div><br></div><div>Thank you</div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
  </div>

</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><span style="font-size:small">___________________</span><br></div><div dir="ltr"><span style="font-size:small"><br></span></div><div dir="ltr">Andrea Borruso<br>
website: <a href="https://medium.com/tantotanto" target="_blank">https://medium.com/tantotanto</a><br>38° 7' 48" N, 13° 21' 9" E, EPSG:4326<br><span style="font-size:small">___________________</span><br>
<br>
"cercare e saper riconoscere chi e cosa,<br>
 in mezzo all’inferno, non è inferno, <br>
e farlo durare, e dargli spazio"<br>
<br>
Italo Calvino<br></div></div></div></div></div></div></div></div></div></div></div></div></div></div>