Commits

ms2ger committed 0acbbce

Cleanup README and point to maintained specifications.

Comments (0)

Files changed (5)

 
 </head><body><header>
     <h1>Anolis 1.2pre</h1>
-    <h2 class="no-num no-toc" id=documentation-—-14-february-2013>Documentation — 14 February 2013</h2>
+    <h2 class="no-num no-toc" id=documentation-—-28-april-2013>Documentation — 28 April 2013</h2>
 </header>
 
 <h2 class="no-num no-toc" id=contents>Contents</h2>
 </p><p>Some options alter what is used to parse and serialize the document: the
 <dfn id=parser><kbd>--parser</kbd></dfn> option allows either <kbd>html5lib</kbd> (the
 default) or <kbd>lxml.html</kbd> (this is quicker, but does not comply to the
-<a href=http://whatwg.org/html5>HTML 5</a> specification) to be used to parse
+<a href=http://whatwg.org/html>HTML</a> specification) to be used to parse
 the input file, and the <dfn id=serializer><kbd>--serializer</kbd></dfn> option allows the
 same two values, but controls the serializer used for output (note that
 lxml.html has some rather severe issues as a serializer)<!--; passing the XXX:
 </p><p>Upon a <dfn id=fatal-error>fatal error</dfn>, processing of the document is terminated and
 the output file is left unchanged.
 
-</p><p>The <dfn id=textcontent>textContent</dfn> property is the same as that defined in <a href=http://w3.org/TR/DOM-Level-3-Core/>DOM Level 3 Core</a> on the Node
-interface.
-
-</p><p><dfn id=whitespace>Whitespace</dfn> is as defined in <a href=http://whatwg.org/html5>HTML 5</a>: <q>U+0020 SPACE, U+0009 CHARACTER
-TABULATION (tab), U+000A LINE FEED (LF), U+000C FORM FEED (FF), and U+000D
-CARRIAGE RETURN (CR)</q>.
-
-</p><p><dfn id=interactive-content>Interactive content</dfn> is as defined in <a href=http://whatwg.org/html5>HTML 5</a>: the <code>a</code>, <code>bb</code>,
+</p><p><dfn id=interactive-content>Interactive content</dfn> is as defined in <a href=http://whatwg.org/html>HTML</a>: the <code>a</code>, <code>bb</code>,
 <code>details</code>, and <code>datagrid</code> elements; the
 <code>audio</code> and <code>video</code> elements when they have a
 <code>controls</code> attribute; the <code>menu</code> element when the
     </li><li>If the element already has an <code>id</code> attribute, return its
 value, and terminate this algorithm.
     </li><li>If the <code>title</code> attribute is present and its value is not
-empty and does not consist of <a href=#whitespace>whitespace</a> only, let
+empty and does not consist of
+<a class=external data-anolis-spec=encoding href=http://encoding.spec.whatwg.org/#ascii-whitespace>ASCII whitespace</a> only, let
 <var>generated_id</var> be equal to its value; otherwise, let
-<var>generated_id</var> be equal to <a href=#textcontent>textContent</a>.
+<var>generated_id</var> be equal to
+<a class=external data-anolis-spec=domcore href=http://dom.spec.whatwg.org/#dom-node-textcontent>textContent</a>.
     </li><li>The <var>generated_id</var> is stripped of leading/trailing
-<a href=#whitespace>whitespace</a> and converted to lowercase (behaviour of this is
-dependent on the current locale setting of Python).
+<a class=external data-anolis-spec=encoding href=http://encoding.spec.whatwg.org/#ascii-whitespace>ASCII whitespace</a> and converted to
+lowercase (behaviour of this is dependent on the current locale setting of
+Python).
     </li><li>The first of the following list whose condition matches the current
 state of the string is done:
         <ol>
 </p><p><a data-anolis-xref=term href=#terms>Terms</a> are taken from the
 <code>data-anolis-xref</code> attribute if present, failing that the
 <code>title</code> attribute if that is present, otherwise from the
-<a href=#textcontent>textContent</a> property of the <code>dfn</code> element. By default,
-Anolis will throw a <a href=#fatal-error>fatal error</a> if a <a href=#terms>term</a> is defined
-more than once: this behaviour can be turned off (causing the final
-<a href=#definitions>definition</a> of the <a href=#terms>term</a> to be the one that is used) by
-the <dfn id=allow-duplicate-dfns><code>--allow-duplicate-dfns</code></dfn> option.
+<a class=external data-anolis-spec=domcore href=http://dom.spec.whatwg.org/#dom-node-textcontent>textContent</a> property of the
+<code>dfn</code> element. By default, Anolis will throw a
+<a href=#fatal-error>fatal error</a> if a <a href=#terms>term</a> is defined more than once: this
+behaviour can be turned off (causing the final <a href=#definitions>definition</a> of the
+<a href=#terms>term</a> to be the one that is used) by the
+<dfn id=allow-duplicate-dfns><code>--allow-duplicate-dfns</code></dfn> option.
 
 </p><p><a data-anolis-xref=definition href=#definitions>Definitions</a> are marked-up with
 the <code>dfn</code> element.
 <code>tt</code>, <code>var</code> elements are used for <a data-anolis-xref=instance href=#instances>instances</a>. Those that are only there in
 <a href=#compatibility-mode>compatibility mode</a> are there because either they should not
 semantically be used for an <a href=#instances>instance</a>, or because they are not
-present in <a href=http://whatwg.org/html5>HTML 5</a>. An
+present in <a href=http://whatwg.org/html>HTML</a>. An
 <a href=#instances>instance</a> is only used if it does not have an <a href=#interactive-content>interactive
 content</a> or <code>dfn</code> element as either a parent or a child.
 
 </p><p>Both <a data-anolis-xref=definition href=#definitions>definitions</a> and <a data-anolis-xref=instance href=#instances>instances</a> are <dfn data-anolis-xref="cross-reference normalization" id=normalized>normalized</dfn> as follows:
 
 </p><ul>
-    <li>Leading and trailing <a href=#whitespace>whitespace</a> is stripped,
+    <li>Leading and trailing
+<a class=external data-anolis-spec=encoding href=http://encoding.spec.whatwg.org/#ascii-whitespace>ASCII whitespace</a> is stripped,
     </li><li>Converted to lowercase (behaviour of this is dependent on the current
 locale setting of Python),
-    </li><li>All consecutive <a href=#whitespace>whitespace</a> is replaced with a single
-U+0020 SPACE CHARACTER<!-- unless there is a <code>pre</code> element as a
-parent-->, and
+    </li><li>All consecutive <a class=external data-anolis-spec=encoding href=http://encoding.spec.whatwg.org/#ascii-whitespace>ASCII whitespace</a>
+is replaced with a single U+0020 SPACE CHARACTER<!-- unless there is a
+<code>pre</code> element as a parent-->, and
     </li><li>If <dfn id=w3c-compat-xref-normalization><code>--w3c-compat-xref-normalization</code></dfn> is enabled,
 all characters apart from U+0020 SPACE CHARACTER, U+002D HYPHEN-MINUS (-),
 U+0030 DIGIT ZERO to U+0039 DIGIT NINE (0–9), U+0041 LATIN CAPITAL LETTER A
 <p>To create a table of contents, and to number the <a data-anolis-xref=section href=#section>sections</a> of the document, an
 <dfn id=outline>outline</dfn> is created (this is a list of <a data-anolis-xref=section href=#section>sections</a>, which can each contain more <a data-anolis-xref=section href=#section>sections</a>, where a <dfn id=section>section</dfn>
 represents a part of the document, and often has a <dfn data-anolis-xref="section heading" id=heading>heading</dfn> associated with it — for more
-detailed definitions see <a href=http://whatwg.org/html5>HTML 5</a>). This
+detailed definitions see <a href=http://whatwg.org/html>HTML</a>). This
 means not only are the <code>h1</code>–<code>h6</code> elements supported, but
 also elements such as <code data-anolis-xref="">section</code> are used to
 create the <a href=#outline>outline</a>. After creating the <a href=#outline>outline</a>, every
 </p><p>A <dfn id=normal-comment-substitution>normal comment substitution</dfn> is one where there is a string,
 <var>sub_identifier</var>, that identifies the comment for the substitution,
 and the replacement. All nodes between a comment with a value equal to (with
-leading and trailing <a href=#whitespace>whitespace</a> removed) <code>begin-</code>
-followed by <var>sub_identifier</var> and one with q value equal to (with
-leading and trailing <a href=#whitespace>whitespace</a> removed) <code>end-</code>
-followed by <var>sub_identifier</var> are removed, and replaced with the
-replacement. Additionally, any comment (with leading and trailing
-<a href=#whitespace>whitespace</a> removed) with a value equal to
-<var>sub_identifier</var> is replaced with a comment with a value of
-<code>begin-</code> followed by <var>sub_identifier</var>, the replacement, and
-then a comment with a value of <code>end-</code> followed by
+leading and trailing <a class=external data-anolis-spec=encoding href=http://encoding.spec.whatwg.org/#ascii-whitespace>ASCII whitespace</a>
+removed) <code>begin-</code> followed by <var>sub_identifier</var> and one with
+q value equal to (with leading and trailing
+<a class=external data-anolis-spec=encoding href=http://encoding.spec.whatwg.org/#ascii-whitespace>ASCII whitespace</a> removed)
+<code>end-</code> followed by <var>sub_identifier</var> are removed, and
+replaced with the replacement. Additionally, any comment (with leading and
+trailing <a class=external data-anolis-spec=encoding href=http://encoding.spec.whatwg.org/#ascii-whitespace>ASCII whitespace</a> removed) with
+a value equal to <var>sub_identifier</var> is replaced with a comment with a
+value of <code>begin-</code> followed by <var>sub_identifier</var>, the
+replacement, and then a comment with a value of <code>end-</code> followed by
 <var>sub_identifier</var>.
 
 </p><p>The <dfn id=w3c-status>W3C status</dfn> is given by the
 
 </p><ol>
     <li>If the node contains, case-insensitively, "latest", followed by one or
-more <a href=#whitespace>whitespace</a> characters, followed by "version", searching
-stops, and the default is used (ED).
+more <a class=external data-anolis-spec=encoding href=http://encoding.spec.whatwg.org/#ascii-whitespace>ASCII whitespace</a> characters,
+followed by "version", searching stops, and the default is used (ED).
     </li><li>Otherwise, if the node, case-sensitively, contains
 "http://www.w3.org/TR/" followed by one of "MO", "WD", "CR", "PR", "REC",
 "PER", or "NOTE", which in turn is followed by U+002D HYPHEN-MINUS (-), then
 8601:2004</a> year.
     
     </dd><dt><code>[<!---->TITLE]</code>
-    </dt><dd>This is replaced with the <a href=#textcontent>textContent</a> of the first
+    </dt><dd>This is replaced with the
+<a class=external data-anolis-spec=domcore href=http://dom.spec.whatwg.org/#dom-node-textcontent>textContent</a> of the first
 <code>title</code> element which is within the first <code>head</code> of the
 document, or an empty string if such a <code>title</code> element does not
 exist.
 </dd></dl>
 
 <p>There is one comment substitution by default. Any nodes between a comment
-with a value equal to (with leading and trailing <a href=#whitespace>whitespace</a>
-removed) <code>begin-link</code> and one with a value equal to
-<code>end-link</code>, with <a href=#interactive-content>interactive content</a> elements removed
-(though children of those elements preserved), are effectively wrapped in an
-<code>a</code> element which has a <code>href</code> attribute equal to the
-<a href=#textcontent><code>textContent</code></a> of all the nodes between the two comments concatenated
-in document order. The two comments must have the same parent, otherwise a
-<a href=#fatal-error>fatal error</a> occurs.
+with a value equal to (with leading and trailing
+<a class=external data-anolis-spec=encoding href=http://encoding.spec.whatwg.org/#ascii-whitespace>ASCII whitespace</a> removed)
+<code>begin-link</code> and one with a value equal to <code>end-link</code>,
+with <a href=#interactive-content>interactive content</a> elements removed (though children of
+those elements preserved), are effectively wrapped in an <code>a</code> element
+which has a <code>href</code> attribute equal to the
+<a href=http://dom.spec.whatwg.org/#dom-node-textcontent><code class=external data-anolis-spec=domcore>textContent</code></a> of all the nodes between the
+two comments concatenated in document order. The two comments must have the
+same parent, otherwise a <a href=#fatal-error>fatal error</a> occurs.
 
 </p><p>If <dfn id=w3c-compat-substitutions><code>--w3c-compat-substitutions</code></dfn> is enabled, the
 following <a data-anolis-xref="normal string substitution" href=#normal-string-substitution>normal string
 
 <p><dfn data-anolis-xref="reference instance" id=reference-instances>Reference instances</dfn> are
 defined by <code title="">span</code> elements with a
-<code title="">data-anolis-ref</code> attribute. Their <a href=#textcontent>textContent</a>
-must be the <a href=#reference-abbreviation>reference abbreviation</a> of a reference defined in the
+<code title="">data-anolis-ref</code> attribute. Their
+<a class=external data-anolis-spec=domcore href=http://dom.spec.whatwg.org/#dom-node-textcontent>textContent</a> must be the
+<a href=#reference-abbreviation>reference abbreviation</a> of a reference defined in the
 <a href=#reference-data>reference data</a>. A <a href=#reference-instances>reference instance</a> is either
 <i>informative</i> or <i>normative</i>: it is <i>informative</i> if the element
 has an <code title="">informative</code> class and <i>normative</i> otherwise.
       a set of name-value mappings where the names are the
       <a data-anolis-xref=x-terms href=#terms-0>terms</a> in the
       <a data-anolis-xref=x-documents href=#documents>document</a>,
-      <a class=external data-anolis-spec=domcore href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#converted-to-ascii-lowercase>converted to lowercase</a>, and the
+      <a class=external data-anolis-spec=domcore href=http://dom.spec.whatwg.org/#converted-to-ascii-lowercase>converted to lowercase</a>, and the
       values are the
-      <a class=external data-anolis-spec=domcore data-anolis-xref=concept-id href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-id>ID</a>s of
+      <a class=external data-anolis-spec=domcore data-anolis-xref=concept-id href=http://dom.spec.whatwg.org/#concept-id>ID</a>s of
       the defining element in the
       <a data-anolis-xref=x-documents href=#documents>document</a>.
 </li></ul>
 <p>Some options alter what is used to parse and serialize the document: the
 <dfn><kbd>--parser</kbd></dfn> option allows either <kbd>html5lib</kbd> (the
 default) or <kbd>lxml.html</kbd> (this is quicker, but does not comply to the
-<a href="http://whatwg.org/html5">HTML 5</a> specification) to be used to parse
+<a href="http://whatwg.org/html">HTML</a> specification) to be used to parse
 the input file, and the <dfn><kbd>--serializer</kbd></dfn> option allows the
 same two values, but controls the serializer used for output (note that
 lxml.html has some rather severe issues as a serializer)<!--; passing the XXX:
 <p>Upon a <dfn>fatal error</dfn>, processing of the document is terminated and
 the output file is left unchanged.
 
-<p>The <dfn>textContent</dfn> property is the same as that defined in <a
-href="http://w3.org/TR/DOM-Level-3-Core/">DOM Level 3 Core</a> on the Node
-interface.
-
-<p><dfn>Whitespace</dfn> is as defined in <a
-href="http://whatwg.org/html5">HTML 5</a>: <q>U+0020 SPACE, U+0009 CHARACTER
-TABULATION (tab), U+000A LINE FEED (LF), U+000C FORM FEED (FF), and U+000D
-CARRIAGE RETURN (CR)</q>.
-
 <p><dfn>Interactive content</dfn> is as defined in <a
-href="http://whatwg.org/html5">HTML 5</a>: the <code>a</code>, <code>bb</code>,
+href="http://whatwg.org/html">HTML</a>: the <code>a</code>, <code>bb</code>,
 <code>details</code>, and <code>datagrid</code> elements; the
 <code>audio</code> and <code>video</code> elements when they have a
 <code>controls</code> attribute; the <code>menu</code> element when the
     <li>If the element already has an <code>id</code> attribute, return its
 value, and terminate this algorithm.
     <li>If the <code>title</code> attribute is present and its value is not
-empty and does not consist of <span>whitespace</span> only, let
+empty and does not consist of
+<span data-anolis-spec=encoding>ASCII whitespace</span> only, let
 <var>generated_id</var> be equal to its value; otherwise, let
-<var>generated_id</var> be equal to <span>textContent</span>.
+<var>generated_id</var> be equal to
+<span data-anolis-spec=domcore>textContent</span>.
     <li>The <var>generated_id</var> is stripped of leading/trailing
-<span>whitespace</span> and converted to lowercase (behaviour of this is
-dependent on the current locale setting of Python).
+<span data-anolis-spec=encoding>ASCII whitespace</span> and converted to
+lowercase (behaviour of this is dependent on the current locale setting of
+Python).
     <li>The first of the following list whose condition matches the current
 state of the string is done:
         <ol>
 <p><span data-anolis-xref="term">Terms</span> are taken from the
 <code>data-anolis-xref</code> attribute if present, failing that the
 <code>title</code> attribute if that is present, otherwise from the
-<span>textContent</span> property of the <code>dfn</code> element. By default,
-Anolis will throw a <span>fatal error</span> if a <span>term</span> is defined
-more than once: this behaviour can be turned off (causing the final
-<span>definition</span> of the <span>term</span> to be the one that is used) by
-the <dfn><code>--allow-duplicate-dfns</code></dfn> option.
+<span data-anolis-spec=domcore>textContent</span> property of the
+<code>dfn</code> element. By default, Anolis will throw a
+<span>fatal error</span> if a <span>term</span> is defined more than once: this
+behaviour can be turned off (causing the final <span>definition</span> of the
+<span>term</span> to be the one that is used) by the
+<dfn><code>--allow-duplicate-dfns</code></dfn> option.
 
 <p><span data-anolis-xref="definition">Definitions</span> are marked-up with
 the <code>dfn</code> element.
 data-anolis-xref="instance">instances</span>. Those that are only there in
 <span>compatibility mode</span> are there because either they should not
 semantically be used for an <span>instance</span>, or because they are not
-present in <a href="http://whatwg.org/html5">HTML 5</a>. An
+present in <a href="http://whatwg.org/html">HTML</a>. An
 <span>instance</span> is only used if it does not have an <span>interactive
 content</span> or <code>dfn</code> element as either a parent or a child.
 
 data-anolis-xref="cross-reference normalization">normalized</dfn> as follows:
 
 <ul>
-    <li>Leading and trailing <span>whitespace</span> is stripped,
+    <li>Leading and trailing
+<span data-anolis-spec=encoding>ASCII whitespace</span> is stripped,
     <li>Converted to lowercase (behaviour of this is dependent on the current
 locale setting of Python),
-    <li>All consecutive <span>whitespace</span> is replaced with a single
-U+0020 SPACE CHARACTER<!-- unless there is a <code>pre</code> element as a
-parent-->, and
+    <li>All consecutive <span data-anolis-spec=encoding>ASCII whitespace</span>
+is replaced with a single U+0020 SPACE CHARACTER<!-- unless there is a
+<code>pre</code> element as a parent-->, and
     <li>If <dfn><code>--w3c-compat-xref-normalization</code></dfn> is enabled,
 all characters apart from U+0020 SPACE CHARACTER, U+002D HYPHEN-MINUS (-),
 U+0030 DIGIT ZERO to U+0039 DIGIT NINE (0–9), U+0041 LATIN CAPITAL LETTER A
 data-anolis-xref="section">sections</span>, where a <dfn>section</dfn>
 represents a part of the document, and often has a <dfn
 data-anolis-xref="section heading">heading</dfn> associated with it — for more
-detailed definitions see <a href="http://whatwg.org/html5">HTML 5</a>). This
+detailed definitions see <a href="http://whatwg.org/html">HTML</a>). This
 means not only are the <code>h1</code>–<code>h6</code> elements supported, but
 also elements such as <code data-anolis-xref="">section</code> are used to
 create the <span>outline</span>. After creating the <span>outline</span>, every
 <p>A <dfn>normal comment substitution</dfn> is one where there is a string,
 <var>sub_identifier</var>, that identifies the comment for the substitution,
 and the replacement. All nodes between a comment with a value equal to (with
-leading and trailing <span>whitespace</span> removed) <code>begin-</code>
-followed by <var>sub_identifier</var> and one with q value equal to (with
-leading and trailing <span>whitespace</span> removed) <code>end-</code>
-followed by <var>sub_identifier</var> are removed, and replaced with the
-replacement. Additionally, any comment (with leading and trailing
-<span>whitespace</span> removed) with a value equal to
-<var>sub_identifier</var> is replaced with a comment with a value of
-<code>begin-</code> followed by <var>sub_identifier</var>, the replacement, and
-then a comment with a value of <code>end-</code> followed by
+leading and trailing <span data-anolis-spec=encoding>ASCII whitespace</span>
+removed) <code>begin-</code> followed by <var>sub_identifier</var> and one with
+q value equal to (with leading and trailing
+<span data-anolis-spec=encoding>ASCII whitespace</span> removed)
+<code>end-</code> followed by <var>sub_identifier</var> are removed, and
+replaced with the replacement. Additionally, any comment (with leading and
+trailing <span data-anolis-spec=encoding>ASCII whitespace</span> removed) with
+a value equal to <var>sub_identifier</var> is replaced with a comment with a
+value of <code>begin-</code> followed by <var>sub_identifier</var>, the
+replacement, and then a comment with a value of <code>end-</code> followed by
 <var>sub_identifier</var>.
 
 <p>The <dfn>W3C status</dfn> is given by the
 
 <ol>
     <li>If the node contains, case-insensitively, "latest", followed by one or
-more <span>whitespace</span> characters, followed by "version", searching
-stops, and the default is used (ED).
+more <span data-anolis-spec=encoding>ASCII whitespace</span> characters,
+followed by "version", searching stops, and the default is used (ED).
     <li>Otherwise, if the node, case-sensitively, contains
 "http://www.w3.org/TR/" followed by one of "MO", "WD", "CR", "PR", "REC",
 "PER", or "NOTE", which in turn is followed by U+002D HYPHEN-MINUS (-), then
 8601:2004</a> year.
     
     <dt><code>[<!---->TITLE]</code>
-    <dd>This is replaced with the <span>textContent</span> of the first
+    <dd>This is replaced with the
+<span data-anolis-spec=domcore>textContent</span> of the first
 <code>title</code> element which is within the first <code>head</code> of the
 document, or an empty string if such a <code>title</code> element does not
 exist.
 </dl>
 
 <p>There is one comment substitution by default. Any nodes between a comment
-with a value equal to (with leading and trailing <span>whitespace</span>
-removed) <code>begin-link</code> and one with a value equal to
-<code>end-link</code>, with <span>interactive content</span> elements removed
-(though children of those elements preserved), are effectively wrapped in an
-<code>a</code> element which has a <code>href</code> attribute equal to the
-<code>textContent</code> of all the nodes between the two comments concatenated
-in document order. The two comments must have the same parent, otherwise a
-<span>fatal error</span> occurs.
+with a value equal to (with leading and trailing
+<span data-anolis-spec=encoding>ASCII whitespace</span> removed)
+<code>begin-link</code> and one with a value equal to <code>end-link</code>,
+with <span>interactive content</span> elements removed (though children of
+those elements preserved), are effectively wrapped in an <code>a</code> element
+which has a <code>href</code> attribute equal to the
+<code data-anolis-spec=domcore>textContent</code> of all the nodes between the
+two comments concatenated in document order. The two comments must have the
+same parent, otherwise a <span>fatal error</span> occurs.
 
 <p>If <dfn><code>--w3c-compat-substitutions</code></dfn> is enabled, the
 following <span data-anolis-xref="normal string substitution">normal string
 
 <p><dfn data-anolis-xref="reference instance">Reference instances</dfn> are
 defined by <code title>span</code> elements with a
-<code title>data-anolis-ref</code> attribute. Their <span>textContent</span>
-must be the <span>reference abbreviation</span> of a reference defined in the
+<code title>data-anolis-ref</code> attribute. Their
+<span data-anolis-spec=domcore>textContent</span> must be the
+<span>reference abbreviation</span> of a reference defined in the
 <span>reference data</span>. A <span>reference instance</span> is either
 <i>informative</i> or <i>normative</i>: it is <i>informative</i> if the element
 has an <code title>informative</code> class and <i>normative</i> otherwise.
 {
-  "domcore": "domcore.json"
+  "domcore": "domcore.json",
+  "encoding": "encoding.json"
 }

data/xrefs/domcore.json

 {
   "definitions": {
     "converted to lowercase": "converted-to-ascii-lowercase",
-    "concept-id": "concept-id"
+    "concept-id": "concept-id",
+    "textcontent": "dom-node-textcontent"
   },
-  "url": "http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#"
+  "url": "http://dom.spec.whatwg.org/#"
 }
 

data/xrefs/encoding.json

+{
+  "definitions": {
+    "ascii whitespace": "ascii-whitespace"
+  },
+  "url": "http://encoding.spec.whatwg.org/#"
+}
+