[Libreoffice-bugs] [Bug 125228] meta.xml is not pretty printed when /org.openoffice.Office.Common/Save/Document PrettyPrinting is set to true.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jan 23 12:22:59 UTC 2020


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

Jambunathan K <kjambunathan at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|6.1.5.2 release             |6.3.4.2 release
             Status|NEEDINFO                    |UNCONFIRMED
     Ever confirmed|1                           |0

--- Comment #6 from Jambunathan K <kjambunathan at gmail.com> ---
(In reply to Dieter Praas from comment #5)
> Jambunathan, a new major release of LibreOffice is available since this bug
> was reported. Could you please try to reproduce it with the latest version
> of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/
> ?I have set the bug's status to 'NEEDINFO'. Please change it back to
> 'UNCONFIRMED' if the bug is still present in the latest version.

This issue still exists in

~$ dpkg -l | grep libreoffice-writer
ii  libreoffice-writer                    1:6.3.4-2                           
amd64        office productivity suite -- word processor

~$ uname -a
Linux debian 5.4.0-2-amd64 #1 SMP Debian 5.4.8-1 (2020-01-05) x86_64 GNU/Linux


This is how the `meta.xml` looks like

<?xml version="1.0" encoding="UTF-8"?>

<office:document-meta xmlns:grddl="http://www.w3.org/2003/g/data-view#"
xmlns:ooo="http://openoffice.org/2004/office"
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
office:version="1.2">

<office:meta><meta:creation-date>2019-05-12T07:44:34.121843196</meta:creation-date><meta:editing-cycles>3</meta:editing-cycles><meta:editing-duration>PT1H2M30S</meta:editing-duration><dc:date>2019-05-12T09:43:28.907427360</dc:date><meta:generator>LibreOffice/6.3.4.2.0$Linux_X86_64
LibreOffice_project/30$Build-2</meta:generator><meta:document-statistic
meta:table-count="0" meta:image-count="0" meta:object-count="0"
meta:page-count="1" meta:paragraph-count="6" meta:word-count="23"
meta:character-count="72"
meta:non-whitespace-character-count="55"/><meta:user-defined
meta:name="Boolean"
meta:value-type="boolean">false</meta:user-defined><meta:user-defined
meta:name="Custom Date"
meta:value-type="date">2019-05-12</meta:user-defined><meta:user-defined
meta:name="Custom Datetime"
meta:value-type="date">2019-05-12T00:00:00</meta:user-defined><meta:user-defined
meta:name="Custom Duration"
meta:value-type="time">P0D</meta:user-defined><meta:user-defined
meta:name="Custom Number"
meta:value-type="float">10</meta:user-defined><meta:user-defined
meta:name="Subtitle" meta:value-type="string">This is a
subtitle</meta:user-defined></office:meta>
</office:document-meta>


I expect the `meta.xml` to be pretty printed, but instead I see one long line.

-- 
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/20200123/a2ee40c1/attachment.htm>


More information about the Libreoffice-bugs mailing list