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: Defaults

> Default values for formatting attributes at the schema level
> Problematic because not supported by RelaxNG
> Would conflict with style inheritance. Properties are inherited from 
> parent styles. A default value would get in the way of inheritance.
> The solution may thus be to define the fallbacks which apply when a 
> property isn't defined anywhere in the hierarchy.

Rather than specifying the defaults using RelaxNG - which would interfere with style inheritance implemented by OpenDocument - why not define the OpenDocument defaults using the _OpenDocument_ format itself?

You could claim that all styles inherit from some RootStyle (need a better name), and then include a definition of RootStyle (for the values you cared about) using the OpenDocument spec itself.

Or am I missing something?

--- David A. Wheeler

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