[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=16385#action_16385 ]
Patrick Durusau commented on OFFICE-1875:
-----------------------------------------
The current text reads:
"This attribute specifies a data style. Its value shall match the name of a data style."
Which I take to mandate the existence of a data style, which bears the name being specified.
There is only one other case with similar language:
style:next-style-name, for the element <style:master-page> we say: "The value of this attribute shall be the name of a <style:master-page> element."
As far as I can determine, these are the only two cases that mandate that names of styles exist in order to invoke them. We do not say in any case what happens if a style is invoked that does not exist. That would be an ODF-Next issue.
So, for 18.471 I suggest:
"The style:data-style-name attribute specifies the name of a data style."
And, for 18.502.2 I suggest:
Current text: "The style:next-style-name attribute identifies the master page that is used for the next page if the current page is entirely filled." -> "The style:next-style-name attribute *specifies the name of* the master page that is used for the next page if the current page is entirely filled."
Current text: "The value of this attribute shall be the name of a <style:master-page> element." to be deleted.
> 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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]