[office] Version Attribute Proposal

From
Michael Brauer <>
Date
2006-12-01T12:56:33+00:00
ID
Thread
[office] Version Attribute Proposal
Dear TC members,

please find below my revised proposal regarding the version attribute in 
section 1.2.1:


> All root elements take an office:version attribute, which indicates
> which version of this specification it complies with.
>
> An application that stores a document conforming to this application
> *shall* use the attribute value "1.2".
 >
 > In older versions of this specification, the attribute could take the 
 > values 1.0 or 1.1, or the attribute could be omitted.

 > If an application processes a document with an attribute value "1.0"
 > it *may* assume that the document conforms to the OpenDocument v1.0
 > specification [ODF10].
> If an application processes a document with an attribute value "1.1"
 > or no office:version attribute, it *may* assume that > the document 
conforms to the OpenDocument v1.1 specification [ODF11].
>
 > <define name="office-document-common-attrs" combine="interleave">
>    <attribute name="office:version">
>      <value>1.2</value>
>    </attribute>
> </define>

Best regards

Michael

-- 
Michael Brauer, Technical Architect Software Engineering
StarOffice/OpenOffice.org
Sun Microsystems GmbH             Nagelsweg 55
D-20097 Hamburg, Germany          
http://sun.com/staroffice         +49 40 23646 500
http://blogs.sun.com/GullFOSS