DR-09-0034 (was "Re: DR-09-0032 and DR-09-0034")

MURATA Makoto (FAMILY Given) eb2m-mrt at asahi-net.or.jp
Thu Mar 5 04:09:22 CET 2009


Dear colleagues,

I reviewed all media types appearing in OOXML again.  Specialized XML
media types in 29500 shouldn't be difficult to register.  But I do no 
find some problems in other media types.  I plan to submit more defect 
reports thru JISC.

I am inclined to register easy ones in a hurry even when we do not 
provide enough information about security considerations.


1. Specialized XML media types

1) Shouldn't be difficult

29500 has a number of specialized XML media types (i.e., "*+xml").
The format of the MIME bodies are clearly defined in 29500.  It should 
not be difficult to register them in the vendor tree.

Note: If I had been involved in TC45, I would have been against them
and proposed to rely on application/xml and content sniffing.

11.3.2   Comments Part
    application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml
11.3.3   Document Settings Part
    application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml
11.3.4   Endnotes Part
    application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml
11.3.5   Font Table Part
    application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml
11.3.6   Footer Part
    application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml
11.3.7   Footnotes Part
    application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml
11.3.8   Glossary Document Part
    application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml
11.3.9   Header Part
    application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml
11.3.10   Main Document Part
    application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml
11.3.10   Main Document Part
    application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml
11.3.11   Numbering Definitions Part
    application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml
11.3.12   Style Definitions Part
    application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml
11.3.13   Web Settings Part
    application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml
12.3.1   Calculation Chain Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml
12.3.2   Chartsheet Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml
12.3.3   Comments Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml
12.3.4   Connections Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml
12.3.7   Dialogsheet Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml
12.3.8   Drawings Part
    application/vnd.openxmlformats-officedocument.drawing+xml
12.3.9   External Workbook References Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml
12.3.10   Metadata Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml
12.3.11   Pivot Table Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml
12.3.12   Pivot Table Cache Definition Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml
12.3.13   Pivot Table Cache Records Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml
12.3.14   Query Table Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml
12.3.15   Shared String Table Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml
12.3.16   Shared Workbook Revision Headers Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml
12.3.17   Shared Workbook Revision Log Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml
12.3.18   Shared Workbook User Data Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml
12.3.19   Single Cell Table Definitions Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml
12.3.20   Styles Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml
12.3.21   Table Definition Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml
12.3.22   Volatile Dependencies Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml
12.3.23   Workbook Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml
12.3.23   Workbook Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml
12.3.24   Worksheet Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml
13.3.1   Comment Authors Part
    application/vnd.openxmlformats-officedocument.presentationml.commentAuthors+xml
13.3.2   Comments Part
    application/vnd.openxmlformats-officedocument.presentationml.comments+xml
13.3.3   Handout Master Part
    application/vnd.openxmlformats-officedocument.presentationml.handoutMaster+xml
13.3.4   Notes Master Part
    application/vnd.openxmlformats-officedocument.presentationml.notesMaster+xml
13.3.5   Notes Slide Part
    application/vnd.openxmlformats-officedocument.presentationml.notesSlide+xml
13.3.6   Presentation Part
    application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml
13.3.6   Presentation Part
    application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml
13.3.6   Presentation Part
    application/vnd.openxmlformats-officedocument.presentationml.template.main+xml
13.3.7   Presentation Properties Part
    application/vnd.openxmlformats-officedocument.presentationml.presProps+xml
13.3.8   Slide Part
    application/vnd.openxmlformats-officedocument.presentationml.slide+xml
13.3.9   Slide Layout Part
    application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml
13.3.10   Slide Master Part
    application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml
13.3.11   Slide Synchronization Data Part
    application/vnd.openxmlformats-officedocument.presentationml.slideUpdateInfo+xml
13.3.12   User Defined Tags Part
    application/vnd.openxmlformats-officedocument.presentationml.tags+xml
13.3.13   View Properties Part
    application/vnd.openxmlformats-officedocument.presentationml.viewProps+xml
14.2.1   Chart Part
    application/vnd.openxmlformats-officedocument.drawingml.chart+xml
14.2.2   Chart Drawing Part
    application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml
14.2.3   Diagram Colors Part
    application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml
14.2.4   Diagram Data Part
    application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml
14.2.5   Diagram Layout Definition Part
    application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml
14.2.6   Diagram Style Part
    application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml
14.2.7   Theme Part
    application/vnd.openxmlformats-officedocument.theme+xml
14.2.8   Theme Override Part
    application/vnd.openxmlformats-officedocument.themeOverride+xml
14.2.9   Table Styles Part
    application/vnd.openxmlformats-officedocument.presentationml.tableStyles+xml
15.2.12.1   Core File Properties Part
    application/vnd.openxmlformats-package.core-properties+xml
15.2.12.2   Custom File Properties Part
    application/vnd.openxmlformats-officedocument.custom-properties+xml
15.2.12.3   Extended File Properties Part
    application/vnd.openxmlformats-officedocument.extended-properties+xml
15.2.6   Custom XML Data Storage Properties Part
    application/vnd.openxmlformats-officedocument.customXmlProperties+xml
15.2.8   Digital Signature XML Signature Part
    application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml

2) Should have been specialized media types?

12.3.6   Custom XML Mappings Part
    application/xml    http://schemas.openxmlformats.org/spreadsheetml/2006/main
15.2.1   Additional Characteristics Part
    application/xml    http://schemas.openxmlformats.org/officeDocument/2006/additionalCharacteristics
15.2.3   Bibliography Part
    application/xml    http://schemas.openxmlformats.org/officeDocument/2006/bibliography

Since OOXML has so many specialized media types (i.e., ones ending with "+xml"), I do 
not understand why the above parts do not have specialized media types. 
Note:  One could argue that this is not a defect but merely a peculiar
design choice.

2. Doubtful media types

1) 15.2.7   Digital Signature Origin Part
    application/vnd.openxmlformats-package.digital-signature-origin

The MIME body of this media type is always empty.  Thus, this media type does look strange to me.
Should we register this anyway?

2) 15.2.13   Font Part
    application/vnd.openxmlformats-officedocument.obfuscatedFont

DR 09-0012 already reports that this media type has no definitions.

3) 15.2.15   Printer Settings Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings (in SpreadsheetML documents)
   15.2.15   Printer Settings Part
    application/vnd.openxmlformats-officedocument.wordprocessingml.printerSettings (in  WordprocessingML documents)

These media types are very strange, since they do not provide any
information about the MIME body.

"An instance of this part type contains information about the
initialization and environment of a printer or a display device. The
layout of this information is application-defined."

We could have registered a media type for DEVMODE and another for the
print record of MAC OS.

4) Part4 8.1   VML Drawing Part
    application/vnd.openxmlformats-officedocument.vmlDrawing

This media type should have ended with "+xml" so that generic XML tools can 
handle VML Drawing parts.

5) 11.3.1   Alternative Format Import Part
    application/vnd.openxmlformats-officedocument.wordprocessingml.document

There are no clear definitions of this media type.  Is the MIME body a WML package?

6) 12.3.5   Custom Property Part
    application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty

This media types is very strange, since it does not provide any
information about the MIME body.

"This part supports the storage of user-defined data."

7) 15.2.9   Embedded Control Persistence Part
    application/vnd.ms-office.activeX+xml

This media type has no definitions.  What is the MIME body?  Is the MIME body 
of this media type really XML?  If not, why "+xml"?

8) application/x-fontdata and application/x-font-ttf

See DR 09-0036 and DR 09-0039.


Cheers,

-- 
MURATA Makoto (FAMILY Given) <EB2M-MRT at asahi-net.or.jp>




More information about the sc34wg4 mailing list