Skip to content

Handling startPostition in CSW getRecords #69

Description

@etj

When startPosition exceeds the number of matched records, GeoNetwork returns an exception:

<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2.0" xsi:schemaLocation="http://www.opengis.net/ows http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd">
  <ows:Exception exceptionCode="InvalidParameterValue" locator="startPosition">
    <ows:ExceptionText>Start position (1212) can't be greater than number of matching records (158 for current search).</ows:ExceptionText>
  </ows:Exception>
</ows:ExceptionReport>

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions