<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>This is mostly an implementation detail that should have no
      consequences. If you really want to change that, I'd suggest you
      to submit a pull request with the change directly.</p>
    <p>Hint:  go to
<a class="moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/edit/master/ogr/ogrsf_frmts/wfs/ogrwfsfilter.cpp">https://github.com/OSGeo/gdal/edit/master/ogr/ogrsf_frmts/wfs/ogrwfsfilter.cpp</a>
      , do the change and use the UI to submit it as pull request<br>
    </p>
    <div class="moz-cite-prefix">Le 18/11/2022 à 09:02, andy a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHEdGZPMFojyYx75ojhE9QshSmvLJeUYGUvUHwEGLE29Dn9voQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <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"
              moz-do-not-send="true" class="moz-txt-link-freetext">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"
              moz-do-not-send="true" class="moz-txt-link-freetext">http://www.opengis.net/cat/csw/2.0.2</a>"
            xmlns:gml="<a href="http://www.opengis.net/gml"
              moz-do-not-send="true" class="moz-txt-link-freetext">http://www.opengis.net/gml</a>"
            xmlns:dc="<a href="http://purl.org/dc/elements/1.1/"
              moz-do-not-send="true" class="moz-txt-link-freetext">http://purl.org/dc/elements/1.1/</a>"
            xmlns:dct="<a href="http://purl.org/dc/terms/"
              moz-do-not-send="true" class="moz-txt-link-freetext">http://purl.org/dc/terms/</a>"
            xmlns:ogc="<a href="http://www.opengis.net/ogc"
              moz-do-not-send="true" class="moz-txt-link-freetext">http://www.opengis.net/ogc</a>"
            xmlns:ows="<a href="http://www.opengis.net/ows"
              moz-do-not-send="true" class="moz-txt-link-freetext">http://www.opengis.net/ows</a>"
            xmlns:xsi="<a
              href="http://www.w3.org/2001/XMLSchema-instance"
              moz-do-not-send="true" class="moz-txt-link-freetext">http://www.w3.org/2001/XMLSchema-instance</a>"
            xsi:schemaLocation="<a
              href="http://www.opengis.net/cat/csw/2.0.2"
              moz-do-not-send="true" class="moz-txt-link-freetext">http://www.opengis.net/cat/csw/2.0.2</a>
            <a
              href="http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd"
              moz-do-not-send="true" class="moz-txt-link-freetext">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"
                                    moz-do-not-send="true"
                                    class="moz-txt-link-freetext">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>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </body>
</html>