https://bugs.documentfoundation.org/show_bug.cgi?id=166991

            Bug ID: 166991
           Summary: Do not fail importing (F)ODTs with a twice-defined
                    attribute
           Product: LibreOffice
           Version: 25.8.0.0 alpha0+
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: [email protected]
          Reporter: [email protected]

Sometimes - due to manual editing, mis-copy-pasting, or tool failure - we may
encounter an FODT (or ODT) with an XML element that has the same attribute
defined twice.

Yes, that is certainly an error; but - it is very easy to recover from, since
the syntactic structure of the XML is respected.

LO currently refuses to open such a file, emits an error and gives up.

Instead, we should - either by user authorization or by default - try to
recover from this situation and continue opening the file.

The obvious recovery strategy is to let the later re-definition of the
attribute override the earlier one. But - it would not be terrible if
re-definitions would be ignored.

As I am not much of an FODT smith, I would appreciate a minimal example of
this. (Or - I could upload a very-non-minimal example.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to