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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to