W3C home > Mailing lists > Public > public-webauthn@w3.org > May 2017

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

From: Jeffrey Yasskin <jyasskin@google.com>
Date: Tue, 16 May 2017 20:45:35 -0700
Message-ID: <CANh-dXkmUBROCfNAGif7g4N6Wqko5GogcyVnqQwc_qC1UJE+WA@mail.gmail.com>
To: "=JeffH" <Jeff.Hodges@kingsmountain.com>
Cc: W3C Web Authn WG <public-webauthn@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 07:26:26 UTC