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: [OASIS Issue Tracker] Commented: (OFFICE-1875)style:data-style-name, "must match the name of a data style."

    [ http://tools.oasis-open.org/issues/browse/OFFICE-1875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11902#action_11902 ] 

Patrick Durusau commented on OFFICE-1875:

Let me try to restate the issue:

In prior versions (and the current draft) we *inconsistently* define the rules for referencing styles. In at least one case we mandate that the reference *must* match an existing style. We don't make that requirement elsewhere.

That is the *current* state of affairs. 

My starting point is that we have been inconsistent and that needs to be fixed. 

Second and separable point: If requiring *must* match an existing style would adversely affect existing applications (I don't know if it would or not) then we *might* want to loosen rather than tighten this requirement.

My *personal* opinion is that all references should be required to exist. I also think that all styles should be forced to have unique references (whether those are their names or not depends on how we want to do referencing). 

Both of those would make the current version more restrictive than prior versions have been. That raises questions that need to be explicitly considered when drafting the "next" version of a standard. 

> style:data-style-name, "must match the name of a data style." 
> --------------------------------------------------------------
>                 Key: OFFICE-1875
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-1875
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>    Affects Versions: ODF 1.2
>            Reporter: Patrick Durusau
>            Assignee: Patrick Durusau
> The value of a style:data-style-name attribute is required to match the name of a data style. 
> We don't say what happens if it doesn't match the name of a data style. 
> Moreover, we don't have a similar "must" condition for other instances of attributes with styleNameRef values. 
> Shouldn't we:
> 1) Make it mandatory that all attribute values of type styleNameRef match a style of the appropriate type, and
> 2) Define what happens if an attribute with a value of type styleNameRef fails to match an existing style of the appropriate type?
> Being mindful that the question of *when* the style must exist is an issue. In other words the creation of the reference may come immediately before the creation of the style. Is that OK? 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


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