Make the BibTeX 'author' and 'editor' fields take individual values. (bug 6937) (whatwg r3173)

Make the BibTeX 'author' and 'editor' fields take individual values.
(bug 6937) (whatwg r3173)
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6937

Diffs for this change per section: 
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2327.html#output-the-bibtex-name-value-pair
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2327.html#md-bibtex-author
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2327.html#extracting-bibtex
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2327.html#md-bibtex-editor
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2327.html#extracting-atom
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2327.html#atom

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2326&r2=1.2327&f=h
http://html5.org/tools/web-apps-tracker?from=3172&to=3173

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2326
retrieving revision 1.2327
diff -u -d -r1.2326 -r1.2327
--- Overview.html 2 Jun 2009 00:43:57 -0000 1.2326
+++ Overview.html 2 Jun 2009 01:40:38 -0000 1.2327
@@ -38778,21 +38778,20 @@
 
    <dd>
 
-    <p>Gives the name of the authors of the work cited by the
+    <p>Gives the name of one of the authors of the work cited by the
     bibliographic entry.</p>
 
     <p>The <a href="#concept-property-value" title="concept-property-value">value</a> must be
     text.</p>
 
-    <!-- which should be a list of names, separated by "and", with the
-    weird BibTeX names form:
+    <!-- which should be in the weird BibTeX names form:
       First last-prefix Last
       last-prefix Last, First
       last-prefix Last, last-suffix, First
       http://artis.inrialpes.fr/~Xavier.Decoret/resources/xdkbibtex/bibtex_summary.html#names
     ...and with "others" as the last name if there's more than listed. -->
 
-    <p>A single property with the name <code title="md-bibtex-author"><a href="#md-bibtex-author">author</a></code> may be present within each
+    <p>Any number of properties with the name <code title="md-bibtex-author"><a href="#md-bibtex-author">author</a></code> may be present within each
     <a href="#concept-item" title="concept-item">item</a> with the type <code title="md-bibtex"><a href="#md-bibtex">bibtex</a></code>. When such an <a href="#concept-item" title="concept-item">item</a> has an <code title="md-bibtex-entrytype"><a href="#md-bibtex-entrytype">entrytype</a></code> property whose value
     is one of <code title="md-bibtex-entrytype-article"><a href="#md-bibtex-entrytype-article">article</a></code>, <code title="md-bibtex-entrytype-incollection"><a href="#md-bibtex-entrytype-incollection">incollection</a></code>,
     <code title="md-bibtex-entrytype-inproceedings"><a href="#md-bibtex-entrytype-inproceedings">inproceedings</a></code>,
@@ -38874,7 +38873,7 @@
 
    <dd>
 
-    <p>Gives the name of the editors of the work cited by the
+    <p>Gives the name of one of the editors of the work cited by the
     bibliographic entry.</p>
 
     <p>The <a href="#concept-property-value" title="concept-property-value">value</a> must be
@@ -38882,7 +38881,7 @@
 
     <!-- see note at "author" -->
 
-    <p>A single property with the name <code title="md-bibtex-editor"><a href="#md-bibtex-editor">editor</a></code> may be present within each
+    <p>Any number of properties with the name <code title="md-bibtex-editor"><a href="#md-bibtex-editor">editor</a></code> may be present within each
     <a href="#concept-item" title="concept-item">item</a> with the type <code title="md-bibtex"><a href="#md-bibtex">bibtex</a></code>. When such an <a href="#concept-item" title="concept-item">item</a> has an <code title="md-bibtex-entrytype"><a href="#md-bibtex-entrytype">entrytype</a></code> property whose value
     is one of <code title="md-bibtex-entrytype-book"><a href="#md-bibtex-entrytype-book">book</a></code> or
     <code title="md-bibtex-entrytype-inbook"><a href="#md-bibtex-entrytype-inbook">inbook</a></code> and has no
@@ -40423,14 +40422,36 @@
 
    <li>
 
+    <p>Run the following substeps, first with <var title="">name</var> set to the string "<code title="md-bibtex-author"><a href="#md-bibtex-author">author</a></code>", and then with <var title="">name</var> set to the string "<code title="md-bibtex-editor"><a href="#md-bibtex-editor">editor</a></code>":</p>
+
+    <ol><li><p>If there is no property with the name given by <var title="">name</var> whose <a href="#concept-item-corresponding" title="concept-item-corresponding">corresponding item</a> is
+     <var title="">node</var> and whose <a href="#concept-property-value" title="concept-property-value">value</a> is not an <a href="#concept-item" title="concept-item">item</a>, skip these substeps for this
+     value of <var title="">name</var>.</li>
+
+     <li><p>Let <var title="">value</var> be the result of
+     concatentating the <a href="#concept-property-value" title="concept-property-value">values</a> of all the
+     properties with the name given by <var title="">name</var> whose
+     <a href="#concept-item-corresponding" title="concept-item-corresponding">corresponding
+     item</a> is <var title="">node</var>, excluding any whose
+     values are themselves <a href="#concept-item" title="concept-item">items</a>,
+     separating each value with the five-character string "<code title="">&nbsp;and&nbsp;</code>" (that is, U+0020 SPACE, U+0061
+     LATIN SMALL LETTER A, U+006E LATIN SMALL LETTER N, U+0064 LATIN
+     SMALL LETTER D, U+0020 SPACE).</li>
+
+     <li><p><a href="#output-the-bibtex-name-value-pair">Output the BibTeX name-value pair</a> given by
+     <var title="">name</var> and <var title="">value</var>.</li>
+
+    </ol></li>
+
+   <li>
+
     <p>For each element <var title="">element</var> that has one or
     more <a href="#property-names">property names</a> and whose <a href="#concept-item-corresponding" title="concept-item-corresponding">corresponding item</a> is
     <var title="">node</var>: for each name <var title="">name</var>
     in <var title="">element</var>'s <a href="#property-names">property names</a>, run
     the appropriate set of substeps from the following list:</p>
 
-    <ol><li><p>If <var title="">name</var> is equal to the string "<code title="md-about"><a href="#md-about">about</a></code>", "<code title="md-bibtex-entrytype"><a href="#md-bibtex-entrytype">entrytype</a></code>", or "<code title="md-bibtex-bibtex-id"><a href="#md-bibtex-bibtex-id">bibtex-id</a></code>", skip this
-     name.</li>
+    <ol><li><p>If <var title="">name</var> is equal to the string "<code title="md-about"><a href="#md-about">about</a></code>", "<code title="md-bibtex-entrytype"><a href="#md-bibtex-entrytype">entrytype</a></code>", "<code title="md-bibtex-bibtex-id"><a href="#md-bibtex-bibtex-id">bibtex-id</a></code>", "<code title="md-bibtex-author"><a href="#md-bibtex-author">author</a></code>", or "<code title="md-bibtex-editor"><a href="#md-bibtex-editor">editor</a></code>", skip this name.</li>
 
      <li><p>If <var title="">name</var> contains either a U+003A COLON
      character (:) or a U+002E FULL STOP character (.), skip this
@@ -40440,34 +40461,38 @@
      of the property is itself an <a href="#concept-item" title="concept-item">item</a>, then skip this
      property.</li>
 
-     <li><p>Append two U+0020 SPACE characters to <var title="">output</var>.</li>
+     <li><p>Let <var title="">value</var> be the <a href="#concept-property-value" title="concept-property-value">value</a> of the
+     property.</li>
 
-     <li><p>Append <var title="">name</var> to <var title="">output</var>.</li>
+     <li><p><a href="#output-the-bibtex-name-value-pair">Output the BibTeX name-value pair</a> given by
+     <var title="">name</var> and <var title="">value</var>.</li>
 
-     <li><p>Append a U+0020 SPACE character, a U+003D EQUALS SIGN
-     character (=), and another U+0020 SPACE character to <var title="">output</var>.</li>
+    </ol></li>
 
-     <li><p>Let <var title="">value</var> be the <a href="#concept-property-value" title="concept-property-value">value</a> of the
-     property.</li>
+   <li><p>Append a U+007D RIGHT CURLY BRACKET character (}) to <var title="">output</var>.</li>
 
-     <li><p>Replace all occurrences of the U+0022 QUOTATION MARK
-     character (") in <var title="">value</var> with the
-     three-character sequence "<code title="">{"}</code>" (U+007B LEFT
-     CURLY BRACKET, U+0022 QUOTATION MARK, U+007D RIGHT CURLY
-     BRACKET).</li>
+  </ol><p>When the user agent is to <dfn id="output-the-bibtex-name-value-pair">output the BibTeX name-value
+  pair</dfn> given by <var title="">name</var> and <var title="">value</var>, it must run the following steps:<ol><li><p>Append two U+0020 SPACE characters to <var title="">output</var>.</li>
 
-     <li><p>Append a U+0022 QUOTATION MARK character (") to <var title="">output</var>.</li>
+   <li><p>Append <var title="">name</var> to <var title="">output</var>.</li>
 
-     <li><p>Append <var title="">value</var> to <var title="">output</var>.</li>
+   <li><p>Append a U+0020 SPACE character, a U+003D EQUALS SIGN
+   character (=), and another U+0020 SPACE character to <var title="">output</var>.</li>
 
-     <li><p>Append a U+0022 QUOTATION MARK character (") to <var title="">output</var>.</li>
+   <li><p>Replace all occurrences of the U+0022 QUOTATION MARK
+   character (") in <var title="">value</var> with the
+   three-character sequence "<code title="">{"}</code>" (U+007B LEFT
+   CURLY BRACKET, U+0022 QUOTATION MARK, U+007D RIGHT CURLY
+   BRACKET).</li>
 
-     <li><p>Append a U+002C COMMA character (,) and a U+000A LINE FEED
-     (LF) character to <var title="">output</var>.</li>
+   <li><p>Append a U+0022 QUOTATION MARK character (") to <var title="">output</var>.</li>
 
-    </ol></li>
+   <li><p>Append <var title="">value</var> to <var title="">output</var>.</li>
 
-   <li><p>Append aU+007D RIGHT CURLY BRACKET character (}) to <var title="">output</var>.</li>
+   <li><p>Append a U+0022 QUOTATION MARK character (") to <var title="">output</var>.</li>
+
+   <li><p>Append a U+002C COMMA character (,) and a U+000A LINE FEED
+   (LF) character to <var title="">output</var>.</li>
 
   </ol><h4 id="atom"><span class="secno">5.5.6 </span>Atom</h4><p>Given a <code>Document</code> <var title="">source</var>, a user
   agent must run the following algorithm to <dfn id="extracting-atom" title="extracting

Received on Tuesday, 2 June 2009 01:42:44 UTC