Validation of schema type datetime is locale dependent
------------------------------------------------------
Key: XERCESC-1485
URL: http://issues.apache.org/jira/browse/XERCESC-1485
Project: Xerces-C++
Type: Bug
Components: Validating Parser (Schema) (Xerces 1.5 or up only)
Versions: 2.6.0
Environment: W2K, Xercex-C 2.6, Default locale German
Reporter: Frank Schusdziarra
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.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]