← Prev in month ← Prev in thread
Next in thread → Next in month →

fo:color attribute

From
Soren Roug <>
Date
2007-02-04T22:02:01+00:00
ID
Thread
fo:color attribute
To the technical committee,

Paragraph 15.4.3 of OpenDocument-v1.2-draft1.odt (12 Jan 2007) describes the 
fo:color attribute. It references XSL §7.16.6 
(http://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#color). This spec in 
turn references CSS2 (http://www.w3.org/TR/REC-CSS2/). In CSS2 the syntax of 
valid color units is described here: 
http://www.w3.org/TR/REC-CSS2/syndata.html#color-units, and it has ways to 
specify colors that aren't allowed in ODF. E.g. rgb(255,0,0) or 'red'.

ODF's color definition is:
<define name="color">
	<data type="string">
		<param name="pattern">#[0-9a-fA-F]{6}</param>
	</data>
</define>

Just wanted to let you know of this discrepancy.

Also, in sections 15.2.20 Footnote separator and 15.7.5 Column separator, the 
ODF spec uses the style:color attribute and not fo:color.

Sincerely yours
Soren Roug
European Environment Agency
← Prev in month ← Prev in thread
Next in thread → Next in month →