The way we resolved this situation elsewhere in ODF are namespaced
tokens, that is, a namespace prefix, followed by an identifier.
If we use that for the manifest:preferred-view-mode attribute, then the
schema would look like this:
We would pre-define the values
manifest:edit
manifest:presentation-slide-show
manifest:read-only
One question is whether we want to provide fallback values for user
defined values, so that application that don't understand the user
defined view mode can at least choose one of the pre-defined modes that
is close to the use defined mode. If we want to have this, then we may
define two attributes. One that is exactly what we have in the original
proposal, and an additional one, let's say
"manifest:extended-preferred-view-mode" that takes a namespaced value.
Depending on whether we want the fallback value to be optional or
mandatory, the schema may look like this:
or like this
Michael
--
Michael Brauer, Technical Architect Software Engineering
StarOffice/OpenOffice.org
Sun Microsystems GmbH Nagelsweg 55
D-20097 Hamburg, Germany michael.brauer@sun.com
http://sun.com/staroffice +49 40 23646 500
http://blogs.sun.com/GullFOSS
Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering