Project

General

Profile

Bug #186

SPARQL filters can't parse non-numeric comparisons

Added by Alex Hall - over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Mulgara
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
fixed

Description

The inner classes of FilterMapper.java which handle parsing of >, >=, <, and <= operations coerce their arguments into numeric expressions, although the grammar should allow for any comparable expression type to appear here (and the corresponding filter operations in org.mulgara.query.filter allow for any comparable expression).

#1

Updated by Paula Gearon over 13 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

This was a problem in the SPARQL parser. The filters were doing the correct thing, but the parser was trying to create comparisons between numbers only.

Yet another indication that we need a SPARQL test suite.

Fixed in r1595

Also available in: Atom PDF