bugzilla | 17 Aug 2011 13:05
Picon

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

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 <at> mentea.net
        ReportedBy: tgraham <at> mentea.net
         QAContact: xsl-editors <at> 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
(Continue reading)


Gmane