Relatorio

Message81

Author risto3
Recipients ced
Date 2018-05-06.06:14:51
Message-id <1525580091.97.0.99270693071.bug44@tryton.org>
In-reply-to
This patch works for me.

Note, the generated file contains META-INF/manifest, which
(pretty printed) consists of:

$ xmlstarlet ed manifest.xml 
<?xml version="1.0" encoding="UTF-8"?>
<manifest:manifest
xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0">
  <manifest:file-entry manifest:full-path="/"
manifest:media-type="application/vnd.oasis.opendocument.text"/>
  <manifest:file-entry manifest:full-path="meta.xml"
manifest:media-type="text/xml"/>
  <manifest:file-entry manifest:full-path="settings.xml"
manifest:media-type="text/xml"/>
  <manifest:file-entry manifest:full-path="content.xml"
manifest:media-type="text/xml"/>
  <manifest:file-entry manifest:full-path="styles.xml"
manifest:media-type="text/xml"/>
</manifest:manifest>

Notice the full-path="/"

Quoting the third stanza in 3.3 MIME Media Type:
'''
If the file named “META-INF/manifest.xml” contains a
<manifest:file-entry> element whose manifest:full-path
attribute has the value "/", then a "mimetype" file shall
exist, and the content of the “mimetype” file shall be equal
to the value of the manifest:media-type attribute 4.8.10 of
that element.
'''

In this context, 'Shall' (required) now overrides 'should'
(recommended).

For what it's worth:
'''
    "shall" indicates a requirement
    "should" indicates a recommendation
    "may" is used to indicate that something is permitted
    "can" is used to indicate that something is possible,
for example, that an organization or individual is able to
do something

In the ISO/IEC Directives, Part 2, Seventh edition, 2016,
3.3.3, a requirement is defined as an "expression in the
content of a document conveying objectively verifiable
criteria to be fulfilled and from which no deviation is
permitted if compliance with the document is to be claimed."

In the ISO/IEC Directives, Part 2, Seventh edition, 2016,
3.3.4, a recommendation is defined as an "expression in the
content of a document conveying a suggested possible choice
or course of action deemed to be particularly suitable
without necessarily mentioning or excluding others."
'''

This patch is therefore necessary in order to generate a
file conformant to the requirements document.

Thank you in advance for your prompt commit and release of
this important fix.
History
Date User Action Args
2018-05-06 06:14:51risto3setmessageid: <1525580091.97.0.99270693071.bug44@tryton.org>
2018-05-06 06:14:51risto3setrecipients: + ced
2018-05-06 06:14:51risto3linkbug44 messages
2018-05-06 06:14:51risto3create