W3C home > Mailing lists > Public > xsl-editors@w3.org > July to September 2011

[Bug 13804] New: Is normative rgb-icc() prototype wrong?

From: <bugzilla@jessica.w3.org>
Date: Wed, 17 Aug 2011 11:05:12 +0000
To: xsl-editors@w3.org
Message-ID: <bug-13804-2197@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13804

           Summary: Is normative rgb-icc() prototype wrong?
           Product: XSLFO
           Version: 1.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSL-FO
        AssignedTo: tgraham@mentea.net
        ReportedBy: tgraham@mentea.net
         QAContact: xsl-editors@w3.org


The rgb-icc() prototype [1] in the normative HTML for XSL 1.1 is:

color rgb-icc(numeric, numeric, numeric, NCName, numeric, numeric)

However, the non-normative XML source [2] for XSL 1.1 contains:

<proto name="rgb-icc" return-type="color"><arg type="numeric"/><arg
type="numeric"/>
<arg type="numeric"/><arg type="NCName"/><arg type="numeric"/><arg
type="numeric" occur="rep"/></proto>

I.e., the 'occur="rep"' on the last <arg> does not make it any different from
an <arg> without it.

In contrast 'occur="opt"' adds a "?" after the argument in the rendered
prototype.  E.g., in 'system-font()'.

Was 'occur="rep"' supposed to add a "+" after the argument name in the rendered
prototype?

Regards,


Tony Graham                                   tgraham@mentea.net
Consultant                                 http://www.mentea.net
Mentea       13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
 --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
    XML, XSL FO and XSLT consulting, training and programming

[1] http://www.w3.org/TR/xsl11/#expr-color-functions
[2] http://www.w3.org/TR/2006/REC-xsl11-20061205/xslspec.xml

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 17 August 2011 11:05:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 17 August 2011 11:05:20 GMT