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|'od'                      |'mst,od'
--------------------------------------------------------------------------------
             Assigned to|mst                       |oj
--------------------------------------------------------------------------------




------- Additional comments from m...@openoffice.org Thu Jul 29 17:27:45 +0000 
2010 -------
when generating the report in the attached bugdoc, the Writer ODF import filter
is invoked on a temporary document file:///var/tmp/svi78.tmp/Table1.odt.
this document is apparently not written by Writer (at least a breakpoint in
obvious place didn't fire).
this document contains table cells with value attributes like so:

<table:table-cell table:style-name="ce2" office:value="1.#NAN"
office:value-type="float">

the ODF 1.2 schema says:
    <define name="common-value-and-type-attlist">
        <choice>
            <group>
                <attribute name="office:value-type">
                    <value>float</value>
                </attribute>
                <attribute name="office:value">
                    <ref name="double"/>
                </attribute>
            </group>

the value "1.#NAN" is not in the lexical space of "double" according to 
XMLSchema-2:
http://www.w3.org/TR/xmlschema-2/#double

<quote>
The special values positive and negative infinity and not-a-number have lexical
representations INF, -INF and NaN, respectively.
</quote>

so whatever is writing these value attributes should be writing "NaN" if it
wants to say not-a-number.
because the file is not valid, i don't see an urgent need to improve the Writer
ODF import here, although a diagnostic to inform the user about the invalid
input could be helpful.

assigning back to oj.

---------------------------------------------------------------------
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


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

Reply via email to