NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 562 - Add language information to the RDF output. (credit: id)
Add language information to the RDF output. (credit: id)
Status: RESOLVED INTENTIONAL
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-27 14:33 CEST by Henri Sivonen
Modified: 2009-05-27 14:44 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2009-05-27 14:33:32 CEST
Index: source
===================================================================
--- source	(revision 3092)
+++ source	(revision 3093)
@@ -46739,7 +46739,7 @@
     <dl class="triple">
      <dt>subject   <dd> <span>the document's current address</span>
      <dt>predicate <dd> <code title="">http://purl.org/dc/terms/title</code>
-     <dt>object    <dd> the <code>textContent</code> of <span>the <code>title</code> element</span>
+     <dt>object    <dd> the <code>textContent</code> of <span>the <code>title</code> element</span>, as a plain literal, with the language information set from the <span>language</span> of <span>the <code>title</code> element</span>, if it is not unknown.
     </dl>
 
    </li>
@@ -46813,7 +46813,7 @@
     <dl class="triple">
      <dt>subject   <dd> <span>the document's current address</span>
      <dt>predicate <dd> the concatenation of the string "<code title="">http://www.w3.org/1999/xhtml/vocab#</code>" and value of the element's <code title="attr-meta-name">name</code> attribute, <span>converted to lowercase</span>
-     <dt>object    <dd> the value of the element's <code title="attr-meta-content">content</code> attribute
+     <dt>object    <dd> the value of the element's <code title="attr-meta-content">content</code> attribute, as a plain literal, with the language information set from the <span>language</span> of the element, if it is not unknown.
     </dl>
 
    </li>
@@ -46934,6 +46934,19 @@
      title="">value</var>, and then replace <var title="">value</var>
      with the subject returned from those steps.</p></li>
 
+     <!-- could support <time> here somehow, though we'd have to
+     reserialise it, check if the <time> was valid, check if it had a
+     .date, a .time, a .timezone, etc. -->
+
+     <li><p>Otherwise, if <var title="">element</var> is not an
+     <code>a</code>, <code>area</code>, <code>audio</code>,
+     <code>embed</code>, <code>iframe</code>, <code>img</code>,
+     <code>link</code>, <code>object</code>, <code>source</code>, or
+     <code>video</code> element, let <var title="">value</var> be a
+     plain literal, with the language information set from the
+     <span>language</span> of the element, if it is not
+     unknown.</p></li>
+
      <li>
 
       <p>For each name <var title="">name</var> in <var
@@ -77738,6 +77751,7 @@
   Henry Mason,
   Hugh Winkler,
   Ian Bicking,
+  Ian Davis,
   Ignacio Javier,
   Ivan Enderlin,
   Ivo Emanuel Gon&ccedil;alves,