opengeospatial / ets-csw202

Executable Test Suite for CSW 2.0.2
Other
2 stars 1 forks source link

Test csw:csw-2.0.2-GetRecords-tc13.1 fails #25

Closed lgoltz closed 6 years ago

lgoltz commented 6 years ago

Setup

SUT: TODO Tested with production

Testfailure

Request;

<csw:GetRecords xmlns="http://www.occamlab.com/ctl"
                xmlns:csw="http://www.opengis.net/cat/csw/2.0.2"
                xmlns:ctl="http://www.occamlab.com/ctl"
                xmlns:dc="http://purl.org/dc/elements/1.1/"
                xmlns:dct="http://purl.org/dc/terms/"
                xmlns:gen="java:com.occamlab.te.Generator"
                xmlns:gml="http://www.opengis.net/gml"
                xmlns:ogc="http://www.opengis.net/ogc"
                xmlns:ows="http://www.opengis.net/ows"
                xmlns:p="http://teamengine.sourceforge.net/parsers"
                xmlns:parsers="http://www.occamlab.com/te/parsers"
                xmlns:saxon="http://saxon.sf.net/"
                xmlns:te="http://www.occamlab.com/te"
                xmlns:tec="java:com.occamlab.te.TECore"
                xmlns:tems="java:com.occamlab.te.web.MonitorServlet"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xlink="http://www.w3.org/1999/xlink"
                xmlns:xs="http://www.w3.org/2001/XMLSchema"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                resultType="results"
                service="CSW"
                version="2.0.2">
   <csw:Query typeNames="csw:Record">
      <csw:ElementName>dc:identifier</csw:ElementName>
      <csw:ElementName>dc:type</csw:ElementName>
      <csw:ElementName>dc:date</csw:ElementName>
      <csw:Constraint version="1.1.0">
         <ogc:Filter>
            <ogc:PropertyIsGreaterThanOrEqualTo>
               <ogc:PropertyName>dc:date</ogc:PropertyName>
               <ogc:Literal>2006-03-26</ogc:Literal>
            </ogc:PropertyIsGreaterThanOrEqualTo>
         </ogc:Filter>
      </csw:Constraint>
   </csw:Query>
</csw:GetRecords>

Response:

<csw:GetRecordsResponse xmlns:csw="http://www.opengis.net/cat/csw/2.0.2"
                        xmlns:dc="http://purl.org/dc/elements/1.1/"
                        xmlns:dcmiBox="http://dublincore.org/documents/2000/07/11/dcmi-box/"
                        xmlns:dct="http://purl.org/dc/terms/"
                        xmlns:gml="http://www.opengis.net/gml"
                        xmlns:ows="http://www.opengis.net/ows"
                        xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <csw:SearchStatus timestamp="2018-03-20T15:43:26-07:00"/>
   <csw:SearchResults nextRecord="0" numberOfRecordsMatched="2" numberOfRecordsReturned="2"
                      recordSchema="http://www.opengis.net/cat/csw/2.0.2">
      <csw:Record>
         <dc:identifier scheme="urn:x-esri:specification:ServiceType:ArcIMS:Metadata:FileID">urn:uuid:784e2afd-a9fd-44a6-9a92-a3848371c8ec</dc:identifier>
         <dc:type>http://purl.org/dc/dcmitype/Text</dc:type>
         <dc:date>2006-05-12Z</dc:date>
      </csw:Record>
      <csw:Record>
         <dc:identifier scheme="urn:x-esri:specification:ServiceType:ArcIMS:Metadata:FileID">urn:uuid:94bc9c83-97f6-4b40-9eb8-a8e8787a5c63</dc:identifier>
         <dc:type>http://purl.org/dc/dcmitype/Dataset</dc:type>
         <dc:date>2006-03-26Z</dc:date>
      </csw:Record>
   </csw:SearchResults>

Failure:

Proposal:

lgoltz commented 6 years ago

I think we close this issue as timezoned dates was removed from the test suite in #6.