Skip to content

Commit f4fa516

Browse files
Fix bugs found by Link Checker
1 parent d74cfdb commit f4fa516

File tree

4 files changed

+46
-46
lines changed

4 files changed

+46
-46
lines changed

LCWD-DOM-Parsing-20140501.html

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ <h2 id="w3c-last-call-working-draft-01-may-2014" property="dcterms:issued" conte
480480

481481

482482
<dt>Latest editor's draft:</dt>
483-
<dd><a href="http://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html">http://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html</a></dd>
483+
<dd><a href="https://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html">https://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html</a></dd>
484484

485485

486486
<dt>Test suite:</dt>
@@ -1098,8 +1098,8 @@ <h3 id="h3_serializing" role="heading" aria-level="2"><span class="secno">4.2 </
10981098
<dd>
10991099
<p>If the <a title="concept-well-formed" class="internalDFN" href="#dfn-concept-well-formed">require well-formed</a> flag is set (its value is
11001100
<code>true</code>), and this <var>node</var> has no
1101-
<code><a title="dom-document-documentelement" class="externalDFN" href="http://www.w3.org/TR/html5/single-page.html#dom-document-documentelement">documentElement</a></code>
1102-
(the <code><a title="dom-document-documentelement" class="externalDFN" href="http://www.w3.org/TR/html5/single-page.html#dom-document-documentelement">documentElement</a></code>
1101+
<code><a title="dom-document-documentelement" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-document-documentelement">documentElement</a></code>
1102+
(the <code><a title="dom-document-documentelement" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-document-documentelement">documentElement</a></code>
11031103
attribute's value is <code>null</code>), then <a title="concept-algorithm-exception" class="internalDFN" href="#dfn-concept-algorithm-exception">throw an
11041104
exception</a>; the serialization of this <var>node</var> would not be a well-formed document.
11051105
<p>Otherwise, run the following steps:
@@ -1108,9 +1108,9 @@ <h3 id="h3_serializing" role="heading" aria-level="2"><span class="secno">4.2 </
11081108
<li>Append to <var>serialized document</var> the string produced by running the steps to
11091109
<a title="concept-serialize-doctype" class="internalDFN" href="#dfn-concept-serialize-doctype">produce a DocumentType serialization</a>
11101110
of <var>node</var>'s
1111-
<code><a title="dom-document-doctype" class="externalDFN" href="http://www.w3.org/TR/html5/single-page.html#dom-document-doctype">doctype</a></code>
1111+
<code><a title="dom-document-doctype" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-document-doctype">doctype</a></code>
11121112
attribute provided the <var>require well-formed</var> flag if <var>node</var>'s
1113-
<code><a title="dom-document-doctype" class="externalDFN" href="http://www.w3.org/TR/html5/single-page.html#dom-document-doctype">doctype</a></code>
1113+
<code><a title="dom-document-doctype" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-document-doctype">doctype</a></code>
11141114
attribute is not <code>null</code>.
11151115
<li>For each
11161116
<a title="concept-tree-child" class="externalDFN" href="http://www.w3.org/TR/dom/#concept-tree-child">child</a> of
@@ -1335,7 +1335,7 @@ <h3 id="h3_serializing" role="heading" aria-level="2"><span class="secno">4.2 </
13351335
<var>attr</var> in <var>element</var>'s
13361336
<code><a title="dom-element-attributes" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-element-attributes">attributes</a></code>,
13371337
in the order they are specified in the <var>element</var>'s
1338-
<a title="concept-element-attributes" class="externalDFN" href="http://www.w3.org/TR/dom/#concept-element-attributes">attribute list</a>:
1338+
<a title="dom-element-attributes" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-element-attributes">attribute list</a>:
13391339

13401340
<div class="note"><div class="note-title" id="h_note_5" role="heading" aria-level="3"><span>Note</span></div><p>The following conditional steps add namespace prefixes
13411341
into the <var>element prefixes list</var> and add or replace them in the <var>map</var>.
@@ -1345,23 +1345,23 @@ <h3 id="h3_serializing" role="heading" aria-level="2"><span class="secno">4.2 </
13451345
<em>"pretend-namespace"</em>)</code> are not included).</p></div>
13461346
<ol>
13471347
<li>Let <var>attribute namespace</var> be the <var>attr</var>'s
1348-
<code><a title="dom-attribute-namespaceuri" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attribute-namespaceuri">namespaceURI</a></code>
1348+
<code><a title="dom-attr-namespaceuri" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attr-namespaceuri">namespaceURI</a></code>
13491349
value.
13501350
<li>Let <var>attribute prefix</var> be the value of <var>attr</var>'s
1351-
<code><a title="dom-attribute-prefix" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attribute-prefix">prefix</a></code>.
1351+
<code><a title="dom-attr-prefix" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attr-prefix">prefix</a></code>.
13521352
<li>If the <var>attribute namespace</var> is the <a title="xmlns-ns" class="internalDFN" href="#dfn-xmlns-ns">XMLNS namespace</a>, then:
13531353
<ol>
13541354
<li>If <var>attribute prefix</var> is <code>null</code>, then <var>attr</var> is a
13551355
default namespace declaration. Set the <var>default namespace attr value</var> to
1356-
<var>attr</var>'s <code><a title="dom-attribute-value" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attribute-value">value</a></code> and stop running these steps, returning to the
1356+
<var>attr</var>'s <code><a title="dom-attr-value" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attr-value">value</a></code> and stop running these steps, returning to the
13571357
top of the loop to visit the next attribute.
13581358
<li>Otherwise, the <var>attribute prefix</var> is not <code>null</code> and <var>attr</var>
13591359
is a namespace prefix definition. Run the following steps:
13601360
<ol>
13611361
<li>Let <var>prefix definition</var> be the value of <var>attr</var>'s
1362-
<code><a title="dom-attribute-localname" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attribute-localname">localName</a></code>.
1362+
<code><a title="dom-attr-localname" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attr-localname">localName</a></code>.
13631363
<li>Let <var>namespace definition</var> be the value of <var>attr</var>'s
1364-
<code><a title="dom-attribute-value" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attribute-value">value</a></code>.
1364+
<code><a title="dom-attr-value" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attr-value">value</a></code>.
13651365
<li>If a key matching the value of <var>namespace definition</var> already exists in
13661366
<var>map</var>, and the key's value matches <var>prefix definition</var>, then
13671367
this is a duplicate namespace prefix definition. Set the value of <var>duplicate
@@ -1405,47 +1405,47 @@ <h3 id="h3_serializing" role="heading" aria-level="2"><span class="secno">4.2 </
14051405
<li>Let <var>localname set</var> be a new empty
14061406
<dfn title="concept-namespace-localname-set" id="dfn-concept-namespace-localname-set">namespace localname set</dfn>. This <var>localname
14071407
set</var> will contain tuples of unique attribute
1408-
<code><a title="dom-attribute-namespaceuri" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attribute-namespaceuri">namespaceURI</a></code>
1408+
<code><a title="dom-attr-namespaceuri" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attr-namespaceuri">namespaceURI</a></code>
14091409
and <code><a title="dom-element-localname" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-element-localname">localName</a></code>
14101410
pairs, and is populated as each <var>attr</var> is processed.
14111411
<span class="note">This set is used to [optionally] enforce the well-formed constraint that an
14121412
element cannot have two attributes with the same
1413-
<code><a title="dom-attribute-namespaceuri" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attribute-namespaceuri">namespaceURI</a></code>
1413+
<code><a title="dom-attr-namespaceuri" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attr-namespaceuri">namespaceURI</a></code>
14141414
and <code><a title="dom-element-localname" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-element-localname">localName</a></code>.
14151415
This can occur when two otherwise identical attributes on the same element differ only by their
14161416
prefix values.</span>
14171417
<li>For each <a title="concept-attribute" class="externalDFN" href="http://www.w3.org/TR/dom/#concept-attribute">attribute</a>
14181418
<var>attr</var> in <var>element</var>'s
14191419
<code><a title="dom-element-attributes" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-element-attributes">attributes</a></code>,
14201420
in the order they are specified in the <var>element</var>'s
1421-
<a title="concept-element-attributes" class="externalDFN" href="http://www.w3.org/TR/dom/#concept-element-attributes">attribute list</a>:
1421+
<a title="dom-element-attributes" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-element-attributes">attribute list</a>:
14221422
<ol>
14231423
<li>If the <a title="concept-well-formed" class="internalDFN" href="#dfn-concept-well-formed">require well-formed</a> flag is set (its value is
14241424
<code>true</code>), and the <var>localname set</var> contains a tuple whose values match those
14251425
of a new tuple consisting of <var>attr</var>'s
1426-
<code><a title="dom-attribute-namespaceuri" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attribute-namespaceuri">namespaceURI</a></code>
1426+
<code><a title="dom-attr-namespaceuri" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attr-namespaceuri">namespaceURI</a></code>
14271427
attribute and <code><a title="dom-element-localname" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-element-localname">localName</a></code>
14281428
attribute, then <a title="concept-algorithm-exception" class="internalDFN" href="#dfn-concept-algorithm-exception">throw an exception</a>; the serialization of this
14291429
<var>attr</var> would fail to produce a well-formed element serialization.
14301430
<li>Create a new tuple consisting of <var>attr</var>'s
1431-
<code><a title="dom-attribute-namespaceuri" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attribute-namespaceuri">namespaceURI</a></code>
1431+
<code><a title="dom-attr-namespaceuri" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attr-namespaceuri">namespaceURI</a></code>
14321432
attribute and <code><a title="dom-element-localname" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-element-localname">localName</a></code>
14331433
attribute, and add it to the <var>localname set</var>.
14341434
<li>Let <var>attribute namespace</var> be the <var>attr</var>'s
1435-
<code><a title="dom-attribute-namespaceuri" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attribute-namespaceuri">namespaceURI</a></code>
1435+
<code><a title="dom-attr-namespaceuri" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attr-namespaceuri">namespaceURI</a></code>
14361436
value.
14371437
<!-- Check for an unregistered attribute namespace, and if so, serialize a definition for it -->
14381438
<li>Let <var>candidate prefix</var> be <code>null</code>.
14391439
<li>If <var>attribute namespace</var> is not <code>null</code>, then run these sub-steps:
14401440
<ol>
14411441
<li>If the value of <var>attribute namespace</var> is the
14421442
<a title="xmlns-ns" class="internalDFN" href="#dfn-xmlns-ns">XMLNS namespace</a> and either the <var>attr</var>'s
1443-
<code><a title="dom-attribute-prefix" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attribute-prefix">prefix</a></code>
1443+
<code><a title="dom-attr-prefix" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attr-prefix">prefix</a></code>
14441444
is <code>null</code> and the <var>ignore namespace definition
14451445
attribute</var> flag is <code>true</code> or the <var>attr</var>'s
1446-
<code><a title="dom-attribute-prefix" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attribute-prefix">prefix</a></code>
1446+
<code><a title="dom-attr-prefix" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attr-prefix">prefix</a></code>
14471447
is not <code>null</code> and the <var>attr</var>'s
1448-
<code><a title="concept-attribute-localname" class="externalDFN" href="http://www.w3.org/TR/dom/#concept-attribute-localname">localName</a></code>
1448+
<code><a title="dom-attr-localname" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attr-localname">localName</a></code>
14491449
matches the value of <var>duplicate prefix definition</var>, then stop running
14501450
these steps and return to the loop to visit the next attribute.
14511451
<li>Otherwise, if there exists a key in <var>map</var> that matches the value of <var>attribute
@@ -1487,7 +1487,7 @@ <h3 id="h3_serializing" role="heading" aria-level="2"><span class="secno">4.2 </
14871487
<li>Append the following strings to <var>result</var>:
14881488
<ol>
14891489
<li>The value of <var>attr</var>'s
1490-
<code><a title="concept-attribute-localname" class="externalDFN" href="http://www.w3.org/TR/dom/#concept-attribute-localname">localName</a></code>;
1490+
<code><a title="dom-attr-localname" class="externalDFN" href="http://www.w3.org/TR/dom/#dom-attr-localname">localName</a></code>;
14911491
<li>"<code>="</code>" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);
14921492
<li>The result of <a title="concept-serialize-attr-value" class="internalDFN" href="#dfn-concept-serialize-attr-value">serializing an attribute value</a>
14931493
given <var>attr</var>'s
@@ -1562,7 +1562,7 @@ <h3 id="h3_serializing" role="heading" aria-level="2"><span class="secno">4.2 </
15621562
the parser.
15631563

15641564
</p></div><div class="note"><div class="note-title" id="h_note_8" role="heading" aria-level="3"><span>Note</span></div><p><code><a title="script" class="externalDFN" href="http://www.w3.org/TR/html5/single-page.html#script">script</a></code> elements get marked
1565-
unexecutable and the contents of <code><a title="noscript" class="externalDFN" href="http://www.w3.org/TR/html5/single-page.html#noscript">noscript</a></code>
1565+
unexecutable and the contents of <code><a title="the-noscript-element" class="externalDFN" href="http://www.w3.org/TR/html5/single-page.html#the-noscript-element">noscript</a></code>
15661566
get parsed as markup.
15671567

15681568
</p></div><dt>"<code>text/xml</code>"
@@ -2083,5 +2083,5 @@ <h1>Extensions to the <code><a title="text" data-spec="DOM4" class="externalDFN"
20832083
</dd><dt id="bib-RFC2119">[RFC2119]</dt><dd rel="dcterms:requires">S. Bradner. <a href="http://www.ietf.org/rfc/rfc2119.txt"><cite>Key words for use in RFCs to Indicate Requirement Levels.</cite></a> March 1997. Internet RFC 2119. URL: <a href="http://www.ietf.org/rfc/rfc2119.txt">http://www.ietf.org/rfc/rfc2119.txt</a>
20842084
</dd><dt id="bib-WEBIDL">[WEBIDL]</dt><dd rel="dcterms:requires">Cameron McCormack. <a href="http://www.w3.org/TR/WebIDL/"><cite>Web IDL</cite></a>. 19 April 2012. W3C Candidate Recommendation. URL: <a href="http://www.w3.org/TR/WebIDL/">http://www.w3.org/TR/WebIDL/</a>
20852085
</dd></dl></section><section id="informative-references" typeof="bibo:Chapter" rel="bibo:Chapter" resource="#informative-references"><h3 id="h3_informative-references" role="heading" aria-level="2"><span class="secno">B.2 </span>Informative references</h3><dl class="bibliography" about=""><dt id="bib-DOM4">[DOM4]</dt><dd rel="dcterms:references">Anne van Kesteren; Aryeh Gregor; Ms2ger; Alex Russell; Robin Berjon. <a href="http://www.w3.org/TR/dom/"><cite>W3C DOM4</cite></a>. 4 February 2014. W3C Last Call Working Draft. URL: <a href="http://www.w3.org/TR/dom/">http://www.w3.org/TR/dom/</a>
2086-
</dd><dt id="bib-XML10">[XML10]</dt><dd rel="dcterms:references">Tim Bray; Jean Paoli; Michael Sperberg-McQueen; Eve Maler; François Yergeau et al. <a href="http://www.w3.org/TR/xml"><cite>Extensible Markup Language (XML) 1.0 (Fifth Edition)</cite></a>. 26 November 2008. W3C Recommendation. URL: <a href="http://www.w3.org/TR/xml">http://www.w3.org/TR/xml</a>
2086+
</dd><dt id="bib-XML10">[XML10]</dt><dd rel="dcterms:references">Tim Bray; Jean Paoli; Michael Sperberg-McQueen; Eve Maler; François Yergeau et al. <a href="http://www.w3.org/TR/xml/"><cite>Extensible Markup Language (XML) 1.0 (Fifth Edition)</cite></a>. 26 November 2008. W3C Recommendation. URL: <a href="http://www.w3.org/TR/xml">http://www.w3.org/TR/xml</a>
20872087
</dd></dl></section></section></body></html>

0 commit comments

Comments
 (0)