W3C home > Mailing lists > Public > xsl-editors@w3.org > April to June 2004

removing fo:color-profile requirement from fo:declarations

From: Glen Mazza <grm7793@yahoo.com>
Date: Mon, 14 Jun 2004 23:01:50 -0400
Message-ID: <40CE669E.3060602@yahoo.com>
To: XSL Editors <xsl-editors@w3.org>

Editors:

In the 1.0Rec/1.1WD, the contents listing for fo:declarations[1] 
requires at least one fo:color-profile child element:

Contents: (color-profile)+

However, there is an immediate qualification to this as follows:  
"The fo:declarations flow object may have additional child elements in a 
non-XSL namespace."

With this qualification, the requirement for at least one 
fo:color-profile seems strange.  Because you can use fo:declarations for 
non-XSL child elements, it is conceivable that a user could use 
fo:declarations precisely for this reason, with no concern or need of 
fo:color-profiles.

I recommend switching the fo:declarations contents listing to the following:

Contents: (color-profile)*

This makes the entry of an fo:color-profile optional, and similar in 
nature to the zero-or-more child FO requirements of fo:title, fo:block, 
fo:inline, and others.

Thanks,

Glen Mazza
EDS / Apache FOP Team

[1] http://www.w3.org/TR/2003/WD-xsl11-20031217/#fo_declarations
Received on Monday, 14 June 2004 22:56:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:57 GMT