Opened 13 years ago

Closed 13 years ago

#679 closed defect (wontfix)

The content of element 'ogc:Filter' is not complete (SAXParseException)

Reported by: jpassmore2 Owned by: geonetwork-devel@…
Priority: minor Milestone: v2.6.5
Component: Catalog server Version: v2.6.4
Keywords: CSW Filter Cc:

Description

Looking at CSW Demo Request page of our GeoNetwork 2.6.4 installation I note that all the example csw-GetRecords | no filter ... examples are generating the following error in the geonetwork.log file when run:

...,861 ERROR [geonetwork.search] - Errors occurred when trying to parse a filter:
...,861 ERROR [geonetwork.search] - ----------------------------------------------
...,861 ERROR [geonetwork.search] - org.xml.sax.SAXParseException: cvc-complex-type.2.4.b: The content of element 'Filter' is not complete. One of '{"http://www.opengis.net/ogc":spatialOps, "http://www.opengis.net/ogc":comparisonOps, "http://www.opengis.net/ogc":logicOps, "http://www.opengis.net/ogc":_Id}' is expected.
...,861 ERROR [geonetwork.search] - ----------------------------------------------

Change History (1)

comment:1 by fxp, 13 years ago

Resolution: wontfix
Status: newclosed

According to OGC, Filter requires children elements but :

  • GeoNetwork output the XSD error to the log
  • GeoNetwork assumes that the user request for all records and return all results.
<Filter xmlns="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml"/>
Note: See TracTickets for help on using tickets.