To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112652


User mst changed the following:

                What    |Old value                 |New value
================================================================================
                      CC|'mst,od'                  |'er,mib,mst,od,oj'
--------------------------------------------------------------------------------
                Keywords|regression                |odf_validation, regression
--------------------------------------------------------------------------------
                Priority|P3                        |P2
--------------------------------------------------------------------------------




------- Additional comments from m...@openoffice.org Tue Aug 24 09:08:58 +0000 
2010 -------
indeed, the SvXMLUnitConverter::convertDouble() writes these weird values:
  1.#NAN
 -1.#NAN
  1.#INF
 -1.#INF
instead of the XMLSchema-2 conformant values:
  NaN
  INF
 -INF

the weird values are produced by functions from <rtl/math.hxx>.

to fix this i'd like to change the conversion functions in SvXMLUnitConverter to
check for special values NaN/INF.
- always write the XMLSchema-2 conformant values
- when reading, check for XMLSchema-2 conformant values first, fall back to
rtl::Math code for backward compatibility.

@er, mib:  is that ok for you?

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@dba.openoffice.org
For additional commands, e-mail: issues-h...@dba.openoffice.org

Reply via email to