svg2: link syntax of languageID

details:   https://svgwg.org/hg/svg2/rev/d3a7009ec0df
branches:  
changeset: 700:d3a7009ec0df
user:      Chris Lilley <chris@w3.org>
date:      Sat Aug 23 18:31:14 2014 +0200
description:
link syntax of languageID

diffstat:

 master/struct.html |  24 +++++++++++-------------
 master/types.html  |  17 +++++++++++------
 2 files changed, 22 insertions(+), 19 deletions(-)

diffs (172 lines):

diff --git a/master/struct.html b/master/struct.html
--- a/master/struct.html
+++ b/master/struct.html
@@ -1381,17 +1381,18 @@ ability to specify alternate viewing dep
 capabilities of a given user agent or the user's language.</p>
 
 <p>Attributes <a>'requiredFeatures'</a>, <a>'requiredExtensions'</a> and <a>'systemLanguage'</a> act as tests and
 return either true or false results. The <a>'switch'</a> renders the first of
 its children for which all of these attributes test true. If
 the given attribute is not specified, then a true value is
 assumed.</p>
 
-<p class="issue">It sounds strange to talk about attributes "returning" a value.</p>
+<p class="issue">It sounds strange to talk about attributes "returning" a value. However
+it is the test, not the attribute, tat returns a value.</p>
 
 <p>Similar to the <a>'display'</a> property, conditional processing
 attributes only affect the direct rendering of elements and do
 not prevent elements from being successfully referenced by
 other elements (such as via a <a>'use'</a>).</p>
 
 <p>In consequence:</p>
 
@@ -1539,18 +1540,17 @@ element whether to render the element or
 
 <p>The URL names for the extension should include versioning
 information, such as "http://example.org/SVGExtensionXYZ/1.0",
 so that script writers can distinguish between different
 versions of a given extension.</p>
 
 <h3 id="ConditionalProcessingSystemLanguageAttribute">The <span class="attr-name">'systemLanguage'</span> attribute</h3>
 
-<p id="SystemLanguageAttribute">The attribute value is a comma-separated list of language
-names as defined in <a href="http://www.ietf.org/rfc/bcp/bcp47.txt">BCP 47</a>
+<p id="SystemLanguageAttribute">The attribute value is a comma-separated list of <a>'languageID'</a>, as defined in <a href="http://www.ietf.org/rfc/bcp/bcp47.txt">BCP 47</a>
 [<a href="refs.html#ref-BCP47">BCP47</a>].</p>
 
 <p>Evaluates to "true" if one of the languages indicated by
 user preferences exactly equals one of the languages given in
 the value of this parameter, or if one of the languages
 indicated by user preferences exactly equals a prefix of one of
 the languages given in the value of this parameter such that
 the first tag character following the prefix is "-".</p>
@@ -1690,21 +1690,20 @@ section.  We should just describe this o
   </dd>
 </dl>
 
 <p class="issue">Are we happy to keep promoting the use of <span class="attr-name">'xml:base'</span>?
 Is it a use case worth trying to include a more HTML-like syntax for – the <span class="element-name">'base'</span>
 element?  We anyway need to define somewhere what effect the HTML <span class="element-name">'base'</span>
 element has on any SVG document fragments.</p>
 
-<h3 id="LangSpaceAttrs">The <span class='attr-name'>'xml:lang'</span> and
-<span class='attr-name'>'xml:space'</span> attributes</h3>
-
-<p>Elements that might contain character data content have
-attributes <a>'xml:lang'</a> and <a>'xml:space'</a>.</p>
+<h3 id="LangSpaceAttrs">The <span class='attr-name'>'xml:lang'</span> attribute</h3>
+
+<p>Elements that might contain character data content can have
+the attribute <a>'xml:lang'</a>.</p>
 
 <div class="annotation svg2-requirement">
   <table>
     <tr>
       <th>SVG 2 Requirement:</th>
       <td>Deprecate the use of <span class='attr-name'>'xml:space'</span> to affect text layout and use the <span class='property'>'white-space'</span> property instead.</td>
     </tr>
     <tr>
@@ -1712,44 +1711,43 @@ attributes <a>'xml:lang'</a> and <a>'xml
       <td><a href="http://www.w3.org/2011/03/03-svg-minutes.html#item04">We drop xml:space from SVG 2 and remove the relating tests from the SVG 1.1. test suite.</a></td>
     </tr>
     <tr>
       <th>Purpose:</th>
       <td>To align with CSS.</td>
     </tr>
     <tr>
       <th>Owner:</th>
-      <td>Chris (<a href="http://www.w3.org/Graphics/SVG/WG/track/actions/3004">ACTION-3004</a> and
+      <td>Chris (<a href="http://www.w3.org/Graphics/SVG/WG/track/actions/3004">ACTION-3004</a>, done; and
                  <a href="http://www.w3.org/Graphics/SVG/WG/track/actions/3005">ACTION-3005</a>, done)</td>
     </tr>
   </table>
 </div>
 
-<p class="issue" id="LangAttribute">Should we be moving <span class="attr-name">'lang'</span> instead
-of <span class="attr-name">'xlink:lang'</span>?</p>
+<p class="issue" id="LangAttribute">Should we be moving <span class="attr-name">'lang'? </span> instead
+of <span class="attr-name">'xml:lang'</span>? At minimum allow both lang and xml:lang (then needs a priority if both specified).</p>
 
 <dl class="attrdef-list">
   <dt>
     <table class="propdef attrdef">
       <tr>
         <th>Name</th>
         <th>Value</th>
         <th>Lacuna value</th>
         <th>Animatable</th>
       </tr>
       <tr>
         <td><dfn id="XMLLangAttribute">xml:lang</dfn></td>
-        <td><em>languageID</em></td>
+        <td><em><a>'languageID'</a></em></td>
         <td>(none)</td>
         <td>no</td>
       </tr>
     </table>
   </dt>
   <dd>
-    <p class="issue">Need a grammar for <em>languageID</em>.</p>
     <p>Standard XML attribute to specify the language (e.g.,
     English) used in the contents and attribute values of
     particular elements. Refer to the <a href="http://www.w3.org/TR/2008/REC-xml-20081126/"><cite>Extensible Markup
     Language (XML) 1.0</cite></a> Recommendation [<a href="refs.html#ref-XML10">XML10</a>].</p>
   </dd>
   <dt>
     <table class="propdef attrdef">
       <tr>
diff --git a/master/types.html b/master/types.html
--- a/master/types.html
+++ b/master/types.html
@@ -374,22 +374,20 @@ attributes, including presentation attri
     <a>property</a>, the range for an &lt;integer&gt; encompasses (at a
     minimum) -2147483648 to 2147483647.</p>
 
     <p>Within the SVG DOM, an &lt;integer&gt; is represented as a
     <span class="DOMInterfaceName">long</span> or an
     <a>SVGAnimatedInteger</a>.</p>
   </dd>
   
-  <dt id='DataTypeURL'>&lt;url&gt;</dt>
-  <dd>
-    <p>An Internationalized Resource Identifier (see <a>URL</a>).
-    For the specification of <a>URL</a> references in SVG, see
-    <a href="linking.html#URLReference">URL references</a>.</p>
-  </dd>
+  <dt id="DataTypeLanguageID">&lt;languageID&gt;</dt>
+  <dd>A language identifier specifies the language of text or other items in SVG.
+  The syntax is given by [<a href='refs.html#ref-BCP47'>BCP47</a>].
+ 
 
   <dt id="DataTypeLength">&lt;length&gt;</dt>
   <dd>
     <p>A length is a distance measurement, given as a number along with a unit
     which may be optional. Lengths are specified in one of two ways depending
     upon whether they are used in CSS <a>property</a> syntax or SVG
     <a>presentation attribute</a> syntax:</p>
 
@@ -606,16 +604,23 @@ number-optional-number ::= <a href='#WSP
     A URI is the address of a resource on the Web. For the specification of
     URI references in SVG, see
     <a href="struct.html#URIReference">URI references</a>.</p>
     <p>Within the SVG DOM, a &lt;uri&gt; value is represented using a
     <span class="DOMInterfaceName">DOMString</span> value or an
     <a>SVGAnimatedString</a> object.</p>
   </dd>
 -->
+
+  <dt id='DataTypeURL'>&lt;url&gt;</dt>
+  <dd>
+    <p>A Uniform Resource Locator (see <a>URL</a>).
+    For the specification of <a>URL</a> references in SVG, see
+    <a href="linking.html#URLReference">URL references</a>.</p>
+  </dd>
   
   <dt id="DataTypeXML-Name">&lt;XML-Name&gt;</dt>
   <dd>
     <p>An XML name, as defined by the
     <a href="http://www.w3.org/TR/2006/REC-xml-20060816/#NT-Name">Name</a>
     production in
     <a href="http://www.w3.org/TR/2006/REC-xml-20060816/"><cite>Extensible Markup Language (XML) 1.0</cite></a> ([<a href="refs.html#ref-XML10">XML10</a>], section 2.3).</p>
   </dd>

Received on Saturday, 23 August 2014 16:34:22 UTC