← Prev in month ← Prev in thread

3nd paragraph, 4.1.3 Common Paragraph Elements Attributes

From
Patrick Durusau <>
Date
2004-11-14T16:16:44+00:00
ID
Thread
3nd paragraph, 4.1.3 Common Paragraph Elements Attributes
Greetings,

The second and third sentences of the third paragraph of 4.1.3 read:

If both, text:style-name and text:class-names are present, the style 
referenced by the text:style-name attribute is treated like being the 
first style in the list. If a conditional style is specified together 
with style:class-names attribute, but without the text:style-name 
attribute, then first style in style list should meet the requirements 
that would apply to the text:style-name attribute if it exists.

Question: Does the second sentence mean that the style referenced by the 
text:style-name attribute becomes part of the list contained in 
text:class-names? Or is it meant to say that if both exist, use the 
text:style-name?

If the former, suggest:

If both text:style-name and text:class-names attributes are present, the 
style referenced by the text:style-name attribute is treated as the 
first style in the list in text:class-names.

BTW, just in case I don't get that far, 'like being' also occurs in 
5.1.3 Attributed Text, 3rd paragraph, and 9.2.15 Common Drawing Shape 
Attributes, under the heading Style, 3rd paragraph.

Comment:

The third sentence seems confusing.

Suggest:

If a conditional style is specified together with style:class-names 
attribute, but without the text:style-name attribute, then first style 
in style list is used as the value of the missing text:style-name attribute.

Hope everyone is having a great day!

Patrick
-- 
Patrick Durusau
Director of Research and Development
Society of Biblical Literature

Chair, V1 - Text Processing: Office and Publishing Systems Interface
Co-Editor, ISO 13250, Topic Maps -- Reference Model

Topic Maps: Human, not artificial, intelligence at work!
← Prev in month ← Prev in thread