[ http://tools.oasis-open.org/issues/browse/OFFICE-1875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16112#action_16112 ]
Michael Brauer commented on OFFICE-1875:
----------------------------------------
I agree that we should be consistent. If 18.471 style:data-style-name is the only place where we say a style must exist, then we should remove that requirement there.
Regarding the question whether we should add a general requirement that the references styles shall exist: We haven't had this so far, and I think this is nothing we should add in the last minute. My suggestion is to revisit this topic when we discuss naming in general for ODF-Next.
> 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
> Components: Styles
> Affects Versions: ODF 1.2
> Reporter: Patrick Durusau
> Assignee: Patrick Durusau
> Fix For: ODF 1.2
>
>
> 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