OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Conforming OpenDocument Text Document, etc.


This is a draft of some language I'll be proposing to define additional 
conformance targets for the main document types: text, spreadsheet, 
presentation, chart, drawing and image.  The goal to to set some minimum 
requirements in terms of mimetypes and file names, as well as set a 
reasonable upper bounds for expected contents.  For example, it doesn't 
make sense for an ODF spreadsheet to contain animated page transitions. So 
let's say so.

Of course, any vendor is free to add "animated page transitions" to their 
spreadsheet if they wish.  In fact, they could still claim it as a 
conforming ODF Document.  However, it would not be a conforming 
OpenDocument Spreadsheet Document.  So this proposal is 100% backwards 
compatible with what we had in ODF 1.0 and ODF 1.1. 

These specialized document targets specify constraints on static factors 
like namespaces, mime types and syntax.  It will be straightforward to add 
Producer and Consumer targets corresponding to each of these to 
constraints on runtime behavior.   The Producer/Consumer targets will 
likely invoke the requirement to process and be consistent with the 
semantics defined for the elements and attributes which are allowed in 
that document type.  I'll work on writing up these Producer/Consumer 
targets next.

-Rob


------------------------------------------------------------------------
1.4.2.3 Conforming OpenDocument Text Document

(D3) A conforming OpenDocument Text Document shall meet all requirements 
of a Conforming OpenDocument Document, as well as the following additional 
requirements:

(D3.1) The <office:document> element shall have an office:mimetype 
attribute with the value "application/vnd.oasis.opendocument.text".
(D3.2) If the document is OpenDocument package then it shall contains a 
mimetype stream containing the string "
application/vnd.oasis.opendocument.text".
(D3.3) If the document is an OpenDocument package and it is stored as a 
file, then the name of the file shall have the extension ".odt".
(D3.4) It shall contain only elements and attributes which are described 
in the sections corresponding to the "Text" column of Appendix D "Core 
Feature Sets".


1.4.2.4 Conforming OpenDocument Spreadsheet Document

(D4) A conforming OpenDocument Spreadsheet Document shall meet all 
requirements of a Conforming OpenDocument Document, as well as the 
following additional requirements:

(D4.1) The <office:document> element shall have an office:mimetype 
attribute with the value "application/vnd.oasis.opendocument.spreadsheet".
(D4.2) If the document is OpenDocument package then it shall contains a 
mimetype stream containing the string "
application/vnd.oasis.opendocument.spreadsheet".
(D4.3) If the document  is an OpenDocument package and it is stored as a 
file, then the name of the file shall have the extension ".ods".
(D4.4) It shall contain only elements and attributes which are described 
in the sections corresponding to the "Spreadsheet" column of Appendix D 
"Core Feature Sets".
(D4.5) All table:formula attribute values shall be namespace prefixed and 
the namespace prefix shall correspond to the 
"urn:oasis:names:tc:opendocument:xmlns:openformula:1.0" namespace.
(D4.6) All table:formula attribute values shall conform to the syntax 
defined by OpenFormula.

1.4.2.5 Conforming OpenDocument Drawing Document

(D5) A conforming OpenDocument Drawing Document shall meet all 
requirements of a Conforming OpenDocument Document, as well as the 
following additional requirements:

(D5.1) The <office:document> element shall have an office:mimetype 
attribute with the value "application.vnd.oasis.opendocument.graphics".
(D5.2) If the document is OpenDocument package then it shall contains a 
mimetype stream containing the string "application.
vnd.oasis.opendocument.graphics".
(D5.3) If the document is an OpenDocument package and it is stored as a 
file, then the name of the file shall have the extension ".odg".
(D5.4) It shall contain only elements and attributes which are described 
in the sections corresponding to the "Drawing" column of Appendix D "Core 
Feature Sets".

1.4.2.5 Conforming OpenDocument Presentation Document

(D6) A conforming OpenDocument Presentation Document shall meet all 
requirements of a Conforming OpenDocument Document, as well as the 
following additional requirements:

(D6.1)The <office:document> element shall have an office:mimetype 
attribute with the value "application/vnd.oasis.opendocument.presentation
".
(D6.2) If the document is OpenDocument package then it shall contains a 
mimetype stream containing the string "
application/vnd.oasis.opendocument.presentation".
(D6.3) If the document  is an OpenDocument package and it is stored as a 
file, then the name of the file shall have the extension ".odp".
(D6.4) It shall contain only elements and attributes which are described 
in the sections corresponding to the "Presentation" column of Appendix D 
"Core Feature Sets".

1.4.2.5 Conforming OpenDocument Chart Document

(D7) A conforming OpenDocument Chart Document shall meet all requirements 
of a Conforming OpenDocument Document, as well as the following additional 
requirements:

(D7.1) The <office:document> element shall have an office:mimetype 
attribute with the value "application/vnd.oasis.opendocument.chart".
(D7.2) If the document is OpenDocument package then it shall contains a 
mimetype stream containing the string "
application/vnd.oasis.opendocument.chart".
(D7.3) If the document is an OpenDocument package and it is stored as a 
file, then the name of the file shall have the extension ".odc".
(D7.4) It shall contain only elements and attributes which are described 
in the sections corresponding to the "Chart" column of Appendix D "Core 
Feature Sets".

1.4.2.5 Conforming OpenDocument Image Document

(D8) A conforming OpenDocument Image Document shall meet all requirements 
of a Conforming OpenDocument Document, as well as the following additional 
requirements:

(D8.1) The <office:document> element shall have an office:mimetype 
attribute with the value "application/vnd.oasis.opendocument.image".
(D8.2) If the document is OpenDocument package then it shall contains a 
mimetype stream containing the string "application/
vnd.oasis.opendocument.image".
(D8.3) If the document is an OpenDocument package and it is stored as a 
file, then the name of the file shall have the extension ".odi".
(D8.4) It shall contain only elements and attributes which are described 
in the sections corresponding to the "Image" column of Appendix D "Core 
Feature Sets".







[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]