~ubuntu-branches/ubuntu/maverick/docbook-xsl-doc/maverick

« back to all changes in this revision

Viewing changes to doc/html/l10n.lang.value.rfc.compliant.html

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Leidert (dale)
  • Date: 2009-07-23 15:19:36 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090723151936-hnjus4hda6gl9486
Tags: 1.75.2-1
* New upstream release.
* debian/control (Standards-Version): Bumped to 3.8.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>l10n.lang.value.rfc.compliant</title><link rel="stylesheet" href="reference.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.1"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: Reference�Documentation"><link rel="up" href="l10n.html" title="Localization"><link rel="prev" href="l10n.gentext.use.xref.language.html" title="l10n.gentext.use.xref.language"><link rel="next" href="writing.mode.html" title="writing.mode"><link rel="copyright" href="copyright.html" title="License"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">l10n.lang.value.rfc.compliant</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="l10n.gentext.use.xref.language.html">Prev</a>�</td><th width="60%" align="center">Localization</th><td width="20%" align="right">�<a accesskey="n" href="writing.mode.html">Next</a></td></tr></table><hr></div><div class="refentry" title="l10n.lang.value.rfc.compliant"><a name="l10n.lang.value.rfc.compliant"></a><div class="titlepage"></div>
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>l10n.lang.value.rfc.compliant</title><link rel="stylesheet" href="reference.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: Reference�Documentation"><link rel="up" href="l10n.html" title="Localization"><link rel="prev" href="l10n.gentext.use.xref.language.html" title="l10n.gentext.use.xref.language"><link rel="next" href="writing.mode.html" title="writing.mode"><link rel="copyright" href="copyright.html" title="License"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">l10n.lang.value.rfc.compliant</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="l10n.gentext.use.xref.language.html">Prev</a>�</td><th width="60%" align="center">Localization</th><td width="20%" align="right">�<a accesskey="n" href="writing.mode.html">Next</a></td></tr></table><hr></div><div class="refentry" title="l10n.lang.value.rfc.compliant"><a name="l10n.lang.value.rfc.compliant"></a><div class="titlepage"></div>
2
2
 
3
3
<div class="refnamediv"><h2><span class="refentrytitle">l10n.lang.value.rfc.compliant</span></h2><p>
4
4
l10n.lang.value.rfc.compliant
11
11
</pre>
12
12
</div>
13
13
 
14
 
<div class="refsection" title="Description"><a name="id1404043"></a><h2>Description</h2>
 
14
<div class="refsection" title="Description"><a name="id1404089"></a><h2>Description</h2>
15
15
 
16
16
<p>If non-zero, ensure that the values for all <code class="sgmltag-attribute">lang</code> attributes in HTML output are RFC
17
 
compliant<sup>[<a name="id1404073" href="#ftn.id1404073" class="footnote">2</a>]</sup>.
 
17
compliant<sup>[<a name="id1404119" href="#ftn.id1404119" class="footnote">2</a>]</sup>.
18
18
 
19
19
by taking any underscore characters in any <code class="sgmltag-attribute">lang</code> values found in source documents, and
20
20
replacing them with hyphen characters in output HTML files. For
29
29
</p>
30
30
 
31
31
</div>
32
 
<div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.id1404073" href="#id1404073" class="para">2</a>] </sup>Section 8.1.1, <a class="link" href="http://www.w3.org/TR/REC-html40/struct/dirlang.html#h-8.1.1" target="_top">Language Codes</a>, in the HTML 4.0 Recommendation states that:
 
32
<div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.id1404119" href="#id1404119" class="para">2</a>] </sup>Section 8.1.1, <a class="ulink" href="http://www.w3.org/TR/REC-html40/struct/dirlang.html#h-8.1.1" target="_top">Language Codes</a>, in the HTML 4.0 Recommendation states that:
33
33
 
34
34
<div class="blockquote"><blockquote class="blockquote"><p>[RFC1766] defines and explains the language codes
35
35
that must be used in HTML documents.</p>
38
38
 
39
39
</p><pre class="literallayout">language-code = primary-code ( "-" subcode )*</pre><p>
40
40
</p>
41
 
<p>And in RFC 1766, <a class="link" href="http://www.ietf.org/rfc/rfc1766.txt" target="_top">Tags for the Identification
 
41
<p>And in RFC 1766, <a class="ulink" href="http://www.ietf.org/rfc/rfc1766.txt" target="_top">Tags for the Identification
42
42
of Languages</a>, the EBNF for "language tag" is given as:
43
43
 
44
44
</p><pre class="literallayout">Language-Tag = Primary-tag *( "-" Subtag )