<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>13804</bug_id>
          
          <creation_ts>2011-08-17 11:05:11 +0000</creation_ts>
          <short_desc>Is normative rgb-icc() prototype wrong?</short_desc>
          <delta_ts>2011-08-17 11:05:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XSLFO</product>
          <component>XSL-FO</component>
          <version>1.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tony Graham">tgraham</reporter>
          <assigned_to name="Tony Graham">tgraham</assigned_to>
          
          
          <qa_contact name="Mailing list for comments on XSL (XSl-FO)">xsl-editors</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>55290</commentid>
    <comment_count>0</comment_count>
    <who name="Tony Graham">tgraham</who>
    <bug_when>2011-08-17 11:05:11 +0000</bug_when>
    <thetext>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:

&lt;proto name=&quot;rgb-icc&quot; return-type=&quot;color&quot;&gt;&lt;arg type=&quot;numeric&quot;/&gt;&lt;arg type=&quot;numeric&quot;/&gt;
&lt;arg type=&quot;numeric&quot;/&gt;&lt;arg type=&quot;NCName&quot;/&gt;&lt;arg type=&quot;numeric&quot;/&gt;&lt;arg type=&quot;numeric&quot; occur=&quot;rep&quot;/&gt;&lt;/proto&gt;

I.e., the &apos;occur=&quot;rep&quot;&apos; on the last &lt;arg&gt; does not make it any different from an &lt;arg&gt; without it.

In contrast &apos;occur=&quot;opt&quot;&apos; adds a &quot;?&quot; after the argument in the rendered prototype.  E.g., in &apos;system-font()&apos;.

Was &apos;occur=&quot;rep&quot;&apos; supposed to add a &quot;+&quot; after the argument name in the rendered prototype?

Regards,


Tony Graham                                   tgraham@mentea.net
Consultant                                 http://www.mentea.net
Mentea       13 Kelly&apos;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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>