Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.6.0
-
None
-
W2K, Xercex-C 2.6, Default locale German
Description
Due to the usage of the locale dependent strtod function in XMLDateTime::parseMiliSecond validation will fail, if
- locale specifies another character than '.' as 'DecimalPoint'
- subseconds are present
Schema datatype mandates that seconds and subseconds are separated by a '.', but strtod might expect a ',' (e.g. German locale) thus returning an error.
Issue is very much like XERCESX-993 (locale-sensitive function used to validate 'double' type) - fix should be identical.