Filter CompareFilter not null safe
----------------------------------

                 Key: GEOT-901
                 URL: http://jira.codehaus.org/browse/GEOT-901
             Project: GeoTools
          Issue Type: Bug
          Components: core filter
    Affects Versions: 2.2-RC3
            Reporter: Jody Garnett
         Assigned To: Jody Garnett
             Fix For: 2.2


When using Filter with a feature that contains a null value the compare filter 
will fail, rather then evaulating to false..

So should we:
a) force the user to use a NullFilter combined with OR for safty?
b) allow CompareXXXFilter to return false? Aka be exclusive if part of a filter 
"fails"
c) allow CompareXXXFilter to return true? Aka be inclusive if part of a filter 
"fails"

For somethings like equals I am happy evaluating to false...
For compare I am also happy evaulating to false, the filter cannot confirm that 
"null is greater then 3" after all
For things like Math I would like to make use of the Double.NaN ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to