Clone
Marten Janssen <marten.janssen@deltares.nl>
committed
on 06 Apr 17
Removed "Wrong culture" tests for CalculationConfigurationReaders, because the XML type "Double" is culture invariant. A test to validate '0… Show more
Removed "Wrong culture" tests for CalculationConfigurationReaders, because the XML type "Double" is culture invariant. A test to validate '0,5' as a Double is therefore always invalid. Since these tests already have a similar test containing a string value, the 'WrongCulture' tests are obsolete.

Source:

https://www.w3.org/TR/xmlschema-2/#double

"decimal has a lexical representation consisting of a finite-length sequence of decimal digits (#x30-#x39) separated by a period as a decimal indicator.

...

double values have a lexical representation consisting of a mantissa followed, optionally, by the character "E" or "e", followed by an exponent.

... The representations for exponent and mantissa must follow the lexical rules for integer and decimal."

Related to Issue [WTI-1166]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@9169 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: b75df33f17d7cf9c77ae41211458eaff81582a7e

Former-commit-id: 9f23ef3f782092a618f0d74263620e55801e2f8d Show less

1691 + 77 more