<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Thanks for your replies. Unfortunately
      white space does not make a difference. <br>
      <br>
      I also tried following the same tests as outlined at:
      <a class="moz-txt-link-freetext" href="http://mapserver.org/ogc/filter_encoding.html#tests">http://mapserver.org/ogc/filter_encoding.html#tests</a><br>
      <br>
      I used the following URL:<br>
      <br>
<a class="moz-txt-link-freetext" href="http://demo.mapserver.org/cgi-bin/wfs?&VERSION=1.0.0&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=cities&Filter=">http://demo.mapserver.org/cgi-bin/wfs?&VERSION=1.0.0&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=cities&Filter=</a><Filter><PropertyIsNull><PropertyName>NAME</PropertyName></PropertyIsNull></Filter><br>
      <br>
      With the filter encoded this is as follows (this can be tested
      directly):<br>
      <br>
      <a
href="http://demo.mapserver.org/cgi-bin/wfs?&VERSION=1.0.0&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=cities&Filter=%3CFilter%3E%3CPropertyIsNull%3E%3CPropertyName%3ENAME%3C%2FPropertyName%3E%3C%2FPropertyIsNull%3E%3C%2FFilter%3E">http://demo.mapserver.org/cgi-bin/wfs?&VERSION=1.0.0&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=cities&Filter=%3CFilter%3E%3CPropertyIsNull%3E%3CPropertyName%3ENAME%3C%2FPropertyName%3E%3C%2FPropertyIsNull%3E%3C%2FFilter%3E</a><br>
      <br>
      However I still get the following error:<br>
      <br>
      <span style="color: rgb(0, 0, 0); font-family: monospace;
        font-size: 13px; font-style: normal; font-variant: normal;
        font-weight: normal; letter-spacing: normal; line-height:
        normal; orphans: auto; text-align: start; text-indent: 0px;
        text-transform: none; white-space: normal; widows: auto;
        word-spacing: 0px; -webkit-text-stroke-width: 0px; display:
        inline !important; float: none;">msWFSGetFeature(): WFS server
        error. Invalid or Unsupported FILTER in GetFeature :
<Filter><PropertyIsNull><PropertyName>NAME</PropertyName></PropertyIsNull><br>
        <br>
      </span><br>
      I get the same when using VERSION=1.1.0.<br>
      <br>
      On 02/05/2014 08:43, Eichner, Andreas - SID wrote:<br>
    </div>
    <blockquote
cite="mid:6F331135492B944D90731CE93743D568067244@FS-EX-DB102.fs.sachsen.de"
      type="cite">
      <pre wrap="">Whitespace might be significant, can you try
<ogc:PropertyIsNull>
  <ogc:PropertyName>YEAR</ogc:PropertyName>
</ogc:PropertyIsNull>

</pre>
      <blockquote type="cite">
        <pre wrap="">-----Ursprüngliche Nachricht-----
OpenLayers has a OpenLayers.Filter.Comparison.IS_NULL filter that produces
XML such as:

            <ogc:PropertyIsNull>
              <ogc:PropertyName>
                YEAR
              </ogc:PropertyName>
            </ogc:PropertyIsNull>
</pre>
      </blockquote>
      <pre wrap="">

</pre>
    </blockquote>
    <br>
  </body>
</html>