[Libreoffice-bugs] [Bug 124884] New: LibreOffice violates OXML schema while saving DOCX with track changes

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Apr 22 12:01:27 UTC 2019


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

            Bug ID: 124884
           Summary: LibreOffice violates OXML schema while saving DOCX
                    with track changes
           Product: LibreOffice
           Version: 6.0.4.2 release
          Hardware: All
                OS: Mac OS X (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: leonid.melkozerov at gmail.com

Created attachment 150915
  --> https://bugs.documentfoundation.org/attachment.cgi?id=150915&action=edit
file with corrupted <w:rPrChange>

While saving DOCX file, LibreOffice saves <w:rPrChange> element without inner
<w:rPr> element.

OXML schema:
<xsd:complexType name="CT_RPrChange">
    <xsd:complexContent>
       <xsd:extension base="CT_TrackChange">
           <xsd:sequence>
               <xsd:element name="rPr" type="CT_RPrOriginal" minOccurs="1"/>
           </xsd:sequence>
       </xsd:extension>
    </xsd:complexContent>
</xsd:complexType>
This means that <w:rPr> element MUST BE present, even if it is empty.

Corrupted file (LibreOffice save result) is in attach.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190422/9bb7bc7b/attachment.html>


More information about the Libreoffice-bugs mailing list