Re: errors due to cross-ref link to CredentialRequestOptions ?

This happens because the two "partial dictionary
CredentialRequestOptions"s in
https://w3c.github.io/webappsec-credential-management/ are exported in
addition to the main dictionary definition.

You can tell it's a problem in
https://w3c.github.io/webappsec-credential-management/ because all
three lines it wants you to insert into the link-defaults block are
the same.

I'll file both of these against Bikeshed.

On Tue, May 16, 2017 at 1:05 PM, =JeffH <Jeff.Hodges@kingsmountain.com> wrote:
> when presently building the spec in master branch, I see these errors..
>
> ###
>> curl https://api.csswg.org/bikeshed/ -F file=@index.bs -F force=1 -F
>> output=err
> \033[1;33mLINK ERROR:\033[0m Multiple possible 'idl' refs for
> 'CredentialRequestOptions'.
> Arbitrarily chose the one in webappsec-credential-management-1.
> If this is wrong, insert one of the following lines into a &lt;pre
> class=link-defaults> block:
> spec:webappsec-credential-management-1; type:dictionary; for:/;
> text:CredentialRequestOptions
> spec:webappsec-credential-management-1; type:dictionary; for:/;
> text:CredentialRequestOptions
> spec:webappsec-credential-management-1; type:dictionary; for:/;
> text:CredentialRequestOptions
> &lt;a data-link-type="idl"
> data-lt="CredentialRequestOptions">CredentialRequestOptions&lt;/a>
> \033[1;33mLINK ERROR:\033[0m Multiple possible 'dictionary' refs for
> 'CredentialRequestOptions'.
> Arbitrarily chose the one in webappsec-credential-management-1.
> If this is wrong, insert one of the following lines into a &lt;pre
> class=link-defaults> block:
> spec:webappsec-credential-management-1; type:dictionary; for:/;
> text:CredentialRequestOptions
> spec:webappsec-credential-management-1; type:dictionary; for:/;
> text:CredentialRequestOptions
> spec:webappsec-credential-management-1; type:dictionary; for:/;
> text:CredentialRequestOptions
> &lt;a data-link-type="dictionary" data-lt="CredentialRequestOptions"
> class="nv">CredentialRequestOptions&lt;/a>
> \033[1;33mLINK ERROR:\033[0m Multiple possible 'idl' refs for
> 'CredentialRequestOptions'.
> Arbitrarily chose the one in webappsec-credential-management-1.
> If this is wrong, insert one of the following lines into a &lt;pre
> class=link-defaults> block:
> spec:webappsec-credential-management-1; type:dictionary; for:/;
> text:CredentialRequestOptions
> spec:webappsec-credential-management-1; type:dictionary; for:/;
> text:CredentialRequestOptions
> spec:webappsec-credential-management-1; type:dictionary; for:/;
> text:CredentialRequestOptions
> &lt;a data-link-type="idl" data-lt="CredentialRequestOptions"
> data-link-for-hint="PublicKeyCredential/[[DiscoverFromExternalSource]](options)">CredentialRequestOptions&lt;/a>
> \033[7;32m ✔ \033[0m Successfully generated, with 3 linking errors
> ###
>
> I did add..
>
> spec:webappsec-credential-management-1; type:dictionary; for:/;
> text:CredentialRequestOptions
>
> ..to the <pre class=link-defaults> block per above suggestions but the
> errors persist :(
>
> thoughts?
>
> thx
>
> =JeffH
>

Received on Wednesday, 17 May 2017 03:46:30 UTC