W3C home > Mailing lists > Public > public-secondscreen@w3.org > December 2015

[presentation-api] ReSpec fails to process current editor's draft

From: Mark Foltz via GitHub <sysbot+gh@w3.org>
Date: Mon, 21 Dec 2015 19:30:25 +0000
To: public-secondscreen@w3.org
Message-ID: <issues.opened-123342717-1450726224-sysbot+gh@w3.org>
mfoltzgoogle has just created a new issue for 
https://github.com/w3c/presentation-api:

== ReSpec fails to process current editor's draft ==
After merging PR #227, ReSpec fails with the following backtrace:

```
TypeError: Cannot create property 'dfn' on string 'connecting'
    at https://www.w3.org/Tools/respec/respec-w3c-common:13:17120
    at Array.forEach (native)
    at https://www.w3.org/Tools/respec/respec-w3c-common:13:17095
    at Array.forEach (native)
    at V (https://www.w3.org/Tools/respec/respec-w3c-common:13:16833)
    at HTMLPreElement.<anonymous> 
(https://www.w3.org/Tools/respec/respec-w3c-common:13:20157)
    at Function.Q.extend.each 
(https://www.w3.org/Tools/respec/respec-w3c-common:5:27685)
    at Q.fn.Q.each 
(https://www.w3.org/Tools/respec/respec-w3c-common:5:25659)
    at Object.run 
(https://www.w3.org/Tools/respec/respec-w3c-common:13:19984)
    at https://www.w3.org/Tools/respec/respec-w3c-common:8:7889
```

I verified there are no tidy-html5 warnings (except the usual).  I 
tried commenting out all "connecting" strings in the document and the 
error reproduces.

It also prints the following warnings:

```
Found linkless <a> element with text 'presentationconnection' but no 
matching <dfn>.
Found linkless <a> element with text 'presentationconnection' but no 
matching <dfn>.
Found linkless <a> element with text 'presentationreceiver' but no 
matching <dfn>.
Found linkless <a> element with text 'presentationconnection' but no 
matching <dfn>.
Found linkless <a> element with text 'presentationreceiver' but no 
matching <dfn>.
Found linkless <a> element with text 'presentationconnection' but no 
matching <dfn>.
Found linkless <a> element with text 'presentationconnection' but no 
matching <dfn>.
Found linkless <a> element with text 'presentationconnection' but no 
matching <dfn>.
Found linkless <a> element with text 'presentationconnection' but no 
matching <dfn>.
Found linkless <a> element for 'presentationconnection' with text 
'presentationconnectionstate' but no matching <dfn>.
Found linkless <a> element for 'presentationconnection' with text 
'presentationconnection' but no matching <dfn>.
Found linkless <a> element for 'presentationconnection' with text 
'presentationconnection' but no matching <dfn>.
Found linkless <a> element for 'presentationconnection' with text 
'presentationconnection' but no matching <dfn>.
Found linkless <a> element for 'presentationconnection' with text 
'presentationconnection' but no matching <dfn>.
Found linkless <a> element for 'presentationconnection' with text 
'presentationconnection' but no matching <dfn>.
Found linkless <a> element for 'presentationconnection' with text 
'presentationconnection' but no matching <dfn>.
Found linkless <a> element for 'presentationconnection' with text 
'presentationconnection' but no matching <dfn>.
Found linkless <a> element for 'presentationconnection' with text 
'binarytype' but no matching <dfn>.
Found linkless <a> element for 'presentationconnection' with text 
'binarytype' but no matching <dfn>.
Found linkless <a> element for 'presentationconnection' with text 
'presentationconnection' but no matching <dfn>.
Found linkless <a> element with text 'presentationconnection' but no 
matching <dfn>.
Found linkless <a> element with text 'presentationreceiver' but no 
matching <dfn>.
Found linkless <a> element with text 'presentationreceiver' but no 
matching <dfn>.
Found linkless <a> element with text 'presentationreceiver' but no 
matching <dfn>.
Found linkless <a> element with text 'presentationreceiver' but no 
matching <dfn>.
Found linkless <a> element with text 'presentationconnectionlist' but 
no matching <dfn>.
Found linkless <a> element with text 'presentationconnectionlist' but 
no matching <dfn>.
Found linkless <a> element with text 'presentationconnectionlist' but 
no matching <dfn>.
Found linkless <a> element for 'presentationconnectionlist' with text 
'connections' but no matching <dfn>.
Found linkless <a> element with text 'presentationconnection' but no 
matching <dfn>.
Found linkless <a> element with text 'presentationconnectionlist' but 
no matching <dfn>.
Found linkless <a> element with text 'presentationconnectionlist' but 
no matching <dfn>.
Found linkless <a> element with text 'presentationconnection' but no 
matching <dfn>.
Found linkless <a> element with text 'presentationconnection' but no 
matching <dfn>.
Found linkless <a> element with text 'presentationconnectionlist' but 
no matching <dfn>.
```

My best guess is that this is an error parsing the IDL, but I'm not 
sure how to debug it further, since the same IDL worked fine 
previously, and removing "connecting" from the IDL does not make the 
error go away.



Please view or discuss this issue at 
https://github.com/w3c/presentation-api/issues/232 using your GitHub 
account
Received on Monday, 21 December 2015 19:30:26 UTC

This archive was generated by hypermail 2.3.1 : Monday, 21 December 2015 19:30:27 UTC