Hi,<br>I'm testing the CSW plugin with GeoNetwork 2.7.0 trunk version.<br>And discover that the usually request send from plugin:<br><br><?xml version="1.0" encoding="UTF-8"?><br><csw:GetRecords xmlns:csw="<a href="http://www.opengis.net/cat/csw/2.0.2">http://www.opengis.net/cat/csw/2.0.2</a>" xmlns:ows="<a href="http://www.opengis.net/ows">http://www.opengis.net/ows</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" maxRecords="10" outputFormat="application/xml" outputSchema="<a href="http://www.opengis.net/cat/csw/2.0.2">http://www.opengis.net/cat/csw/2.0.2</a>" resultType="results" service="CSW" version="2.0.2" xsi:schemaLocation="<a href="http://www.opengis.net/cat/csw/2.0.2">http://www.opengis.net/cat/csw/2.0.2</a> <a href="http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd">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 xmlns:ogc="<a href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</a>"><br>
<ogc:BBOX><br><ogc:PropertyName>ows:BoundingBox</ogc:PropertyName><br> <gml:Envelope xmlns:gml="<a href="http://www.opengis.net/gml">http://www.opengis.net/gml</a>" ><br>
<gml:lowerCorner>-180 -90</gml:lowerCorner><br> <gml:upperCorner>180 90</gml:upperCorner><br> </gml:Envelope><br> </ogc:BBOX><br> </ogc:Filter><br>
</csw:Constraint><br> </csw:Query><br></csw:GetRecords><br><br>Don't work <br>infact this sample return 0 result (should be return 1 result).<br><br>Instead it work if I remove the "ows:BoundingBox" value-tag.<br>
<br><?xml version="1.0" encoding="UTF-8"?><br><csw:GetRecords xmlns:csw="<a href="http://www.opengis.net/cat/csw/2.0.2">http://www.opengis.net/cat/csw/2.0.2</a>" xmlns:ows="<a href="http://www.opengis.net/ows">http://www.opengis.net/ows</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" maxRecords="10" outputFormat="application/xml" outputSchema="<a href="http://www.opengis.net/cat/csw/2.0.2">http://www.opengis.net/cat/csw/2.0.2</a>" resultType="results" service="CSW" version="2.0.2" xsi:schemaLocation="<a href="http://www.opengis.net/cat/csw/2.0.2">http://www.opengis.net/cat/csw/2.0.2</a> <a href="http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd">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 xmlns:ogc="<a href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</a>"><br>
<ogc:BBOX><br> <gml:Envelope xmlns:gml="<a href="http://www.opengis.net/gml">http://www.opengis.net/gml</a>" ><br> <gml:lowerCorner>-180 -90</gml:lowerCorner><br>
<gml:upperCorner>180 90</gml:upperCorner><br> </gml:Envelope><br> </ogc:BBOX><br> </ogc:Filter><br> </csw:Constraint><br> </csw:Query><br></csw:GetRecords><br>
<br>I'm not sure if this is a deprecated in the CSW std<br>or instead a bug of GN.<br>I submitted the problem to the guys of GN.<br><br>regards,<br><br clear="all"><br>-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>
qwerty àèìòù<br>-----------------<br><br>