[GeoNetwork-devel] [GeoNetwork opensource Developer website] #679: The content of element 'ogc:Filter' is not complete (SAXParseException)

#679: The content of element 'ogc:Filter' is not complete (SAXParseException)
----------------------------+-----------------------------------------------
Reporter: jpassmore2 | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: minor | Milestone: v2.6.5
Component: Catalog server | Version: v2.6.4
Keywords: CSW Filter |
----------------------------+-----------------------------------------------
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] -
----------------------------------------------
}}}

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/679&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#679: The content of element 'ogc:Filter' is not complete (SAXParseException)
-----------------------------+----------------------------------------------
  Reporter: jpassmore2 | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: minor | Milestone: v2.6.5
Component: Catalog server | Version: v2.6.4
Resolution: wontfix | Keywords: CSW Filter
-----------------------------+----------------------------------------------
Changes (by fxp):

  * status: new => closed
  * resolution: => wontfix

Comment:

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&quot;
xmlns:gml="http://www.opengis.net/gml&quot;/&gt;
}}}

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/679#comment:1&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.