lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Dissel (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENENET-24) test failed when using with different decimal character in regional settings
Date Tue, 10 Oct 2006 08:27:19 GMT
test failed when using with different decimal character in regional settings
----------------------------------------------------------------------------

                 Key: LUCENENET-24
                 URL: http://issues.apache.org/jira/browse/LUCENENET-24
             Project: Lucene.Net
          Issue Type: Bug
         Environment: n/a
            Reporter: Marco Dissel


Hello

I've runned the tests on my Windows XP version, using the dutch regional settings.
Many test are failing due to incorrect parsing of single/floats, especially inside the QueryParser.Parse(..)

For example:
Lucene.Net.QueryParser.TestQueryParser.TestSimple : Query /germ term^2.0/ yielded /germ term^20,0/,
expecting /germ term^2.0/

2.0 is converted to 20 by Single.Parse with the ducth culture (in the Netherlands the , is
the default decimal character)..

I don't  know how the floatValue method in java will handle this..

Thanks

Marco

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

        

Mime
View raw message