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: Proposal to add version attribute for manifest entries


Dear TC,

As discussed in our last TC call, here is a proposal to add a version 
attribute for manifest entries...

Add to OpenDocument Specification, Part 3 (Packages):

2.8.3.4 Version

The manifest:version attribute specifies the the format version of the 
referenced entry. For documents that are composed from multiple entries, 
it is specified on the entry that encloses these entries. The format 
version applies to the format specified in the media-type attribute of 
the entry in which it occurs.

<define name="file-entry-attlist" combine="interleave">
	<attribute name="manifest:version">
		<data type="string"/>
	</attribute>
</define>

Example:

The following manifest shows a package containing an OpenDocument 1.2 
text document. The version is specified at the root directory entry 
which has the media-type attribute set to the corresponding MIME type. 
Consequently, all the files directly associated with that document 
(content.xml, styles.xml and meta.xml) are required to conform to the 
specified version of the format.

<manifest:manifest
   xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0">
   <manifest:file-entry
     manifest:media-type="application/vnd.oasis.opendocument.text"
     manifest:version="1.2"
     manifest:full-path="/" />
   <manifest:file-entry
     manifest:media-type="text/xml"
     manifest:full-path="content.xml" />
   <manifest:file-entry
     manifest:media-type="text/xml"
     manifest:full-path="styles.xml" />
  <manifest:file-entry
     manifest:media-type="text/xml"
     manifest:full-path="meta.xml" />
</manifest:manifest>

-- 
Sun Microsystems                Lars Oppermann <lars.oppermann@sun.com>
Nagelsweg 55                    Software Engineer
20097 Hamburg, Germany          Phone: +49 40 23646 959
http://www.sun.com/             Fax:   +49 40 23646 550
-----------------------------------------------------------------------
Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
D-85551 Kirchheim-Heimstetten, Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering


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