Project

General

Profile

Actions

Bug #26

closed

need to add NOT operator to pathquery.dtd

Added by Matt Jones over 22 years ago. Updated almost 21 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
metacat
Target version:
Start date:
06/19/2000
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
26

Description

The query description supported by pathquery.dtd does not currently support the
"NOT' boolean operator, which should be provided as a choice in the "searchmode"
attribute as "is-not". Also, the "matches-exactly" operator should be changed
to "is". Finally, the QuerySpecification class needs to be updated to support
these changes.

Actions #1

Updated by Matt Jones over 22 years ago

will do.

Actions #2

Updated by Jivka Bojilova over 21 years ago

DONE
Included new terms in pathquery.dtd for searchmode:
equals (former "matches-exactly")
isnot-equal
less-than
greater-than
less-than-equals
greater-than-equals

Added support for them in QuerySpecification. Tested in Oracle.
For = and != operators: ='1' and =1 (!='1' and !=1) work in the same way for
numeric operands thus ='operand' is used only.
For >, >=, <, <= operators check for numeric operand is added like:
if (operand is Number)
operator operand
else //character operand
operator 'operand'

Actions #3

Updated by Redmine Admin almost 10 years ago

Original Bugzilla ID was 26

Actions

Also available in: Atom PDF