Ticket #69 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

A parse error or an exception in general is not thrown when the select clause contains an invalid geometry literal

Reported by: charnik Owned by: charnik
Priority: major Milestone: Strabon v3.2.11
Component: endpoint Version: 3.2.9
Keywords: parse error, geometry literals, select clause Cc:

Description

Take for example the following query (on the NOA endpoint):

PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>

SELECT (strdf:srid("POINT(37 23"strdf:WKT) as ?srid)
WHERE {

FILTER NOT EXISTS {<http://ex.org/a> <http://ex.org/b> <http://ex.org/c>}

}

The given geometry literal is an invalid WKT. This happens also for geo:wktLiteral datatypes (and other datatypes such as xsd:integer and floating point values).

Change History

comment:1 Changed 3 years ago by charnik

  • Owner changed from pyravlos-team to charnik
  • Status changed from new to assigned

comment:2 Changed 3 years ago by charnik

  • Status changed from assigned to closed
  • Resolution set to fixed

Bug fixed in changesets 1390:1f2f22747854 and 1415:cd490830c36d.
But, notice that do not handle type exceptions for non-spatial datatypes or GML.

Note: See TracTickets for help on using tickets.