Bug 87490 - a boolean value should use a shorter representation in XML content
Summary: a boolean value should use a shorter representation in XML content
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
4.2.7.2 release
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-19 12:34 UTC by Jérôme
Modified: 2015-01-04 10:53 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jérôme 2014-12-19 12:34:42 UTC
Calc is currently representing a boolean value either by "true" or "false" characters lists as in the below example :
---
<table:table-cell office:value-type="boolean" office:boolean-value="true" calcext:value-type="boolean">
<text:p>VRAI</text:p>
</table:table-cell>
</table:table-row><table:table-row table:style-name="ro1">
<table:table-cell office:value-type="boolean" office:boolean-value="false" calcext:value-type="boolean">
<text:p>FAUX</text:p>
</table:table-cell>
---

Maybe you could use "1" or "0" characters for that.

This would descrease the size of the XML stream to be parsed.
Comment 1 Markus Mohrhard 2014-12-19 14:09:56 UTC
This is defined by ODF and not by us. Read section 18.3.3 in ODF 1.2 part 1.
Comment 2 Jérôme 2015-01-04 10:53:59 UTC
I posted a comment to the "office-comment" mailing list of the OASIS Open Document Format for Office Applications technical committee :

https://lists.oasis-open.org/archives/office-comment/201501/msg00000.html