hoffman-v3example-upd-with-dupe-err.xml | hoffman-dupe-corrected.xml | |||
---|---|---|---|---|
<?xml version='1.0' encoding='US-ASCII'?> | <?xml version='1.0' encoding='utf-8'?> | |||
<!DOCTYPE rfc SYSTEM 'rfc2629.dtd'> | <!DOCTYPE rfc SYSTEM "rfc2629.dtd"> | |||
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" ipr="trust200902" consensus="false" submissionType="IETF" updates="1234, 5678" xml:lang="en" obsoletes=""> | ||||
<rfc ipr='trust200902' consensus='false' submissionType='IETF' | <front> | |||
updates='1234, 5678' xml:lang='en' | <seriesInfo name="Internet-Draft" value="draft-example-of-xml-00"/> | |||
xmlns:xi="http://www.w3.org/2001/XInclude"> | <seriesInfo name="std" value=""/> | |||
<title abbrev="XML Example">An Example of Using XML for an Internet Draft </title> | ||||
<front><seriesInfo name='Internet-Draft' | <author fullname="Chris Smith" initials="C." surname="Smith"> | |||
value='draft-example-of-xml-00'/> | <organization abbrev="EC">ExampleCorp</organization> | |||
<seriesInfo name='std' value=''/> | <address><postal><street>123 Exemplar Way</street><city>Anytown</city><region>California</region><code>95060</code><country>US</country></postal><phone>+1 123-456-7890</phone> +1 123-456-7890 <email>chrissmith@example.com</email> <uri>http://www.example.com/corporate/</uri> </address> | |||
<title abbrev='XML Example'> | </author> | |||
An Example of Using XML for an Internet Draft | <!-- The following author has no organization and no postal or | |||
</title> | ||||
<author fullname='Chris Smith' initials='C.' surname='Smith'> | ||||
<organization abbrev='EC'>ExampleCorp</organization> | ||||
<address> | ||||
<postal> | ||||
<street>123 Exemplar Way</street> | ||||
<city>Anytown</city> | ||||
<region>California</region> | ||||
<code>95060</code> | ||||
<country>US</country> | ||||
</postal> | ||||
<phone>+1 123-456-7890</phone> | ||||
+1 123-456-7890 | ||||
<email>chrissmith@example.com</email> | ||||
<uri>http://www.example.com/corporate/</uri> | ||||
</address> | ||||
</author> | ||||
<!-- The following author has no organization and no postal or | ||||
phone information. --> | phone information. --> | |||
<author fullname='Kim Jones' initials='K.' surname='Jones'> | <author fullname="Kim Jones" initials="K." surname="Jones"> | |||
<organization/> | <organization/> | |||
<address> | <address> | |||
<email>jk@lmn.op</email> | <email>jk@lmn.op</email> | |||
</address> | </address> | |||
</author> | </author> | |||
<date year="2014" month="September"/> | ||||
<date year='2014' month='September'/> | <area>General</area> | |||
<workgroup>Imaginary WG</workgroup> | ||||
<area>General</area> | <keyword>XML</keyword> | |||
<workgroup>Imaginary Imaginary WG</workgroup> | <keyword>Imagination</keyword> | |||
<keyword>XML</keyword> | <abstract> | |||
<keyword>Imagination</keyword> | <t>This is an example of an abstract. It is a short paragraph that gives an overview of the document in order to help the reader determine whether or not they are interested in reading further.</t> | |||
</abstract> | ||||
<abstract> | <note tile="Disclaimer"> | |||
<t>This is an example of an abstract. It is a short paragraph that | <t>This isn't a real RFC, just an example.</t> | |||
gives an overview of the document in order to help the | </note> | |||
reader determine whether or not they are interested in reading | </front> | |||
further.</t> | <middle> | |||
</abstract> | <section anchor="intro" numbered="true" toc="default"> | |||
<name>Introduction</name> | ||||
<note tile='Disclaimer'> | <t>This is the first paragraph of the introduction to this document. This introduction is probably much shorter than it would be for a real Internet Draft.</t> | |||
<t>This isn't a real RFC, just an example.</t> | <t>Something to note about this paragraph is that it has a pointer to <xref target="protocol" format="default" pageno="false"/>, and one to <xref target="haiku" format="default" pageno="false"/>, both of which appear later in the document.</t> | |||
</note> | <iref item="Introduction" subitem="verbiage" primary="true"/> | |||
<!-- This is a comment. Comments in the XML do not appear in the | ||||
</front> | ||||
<middle> | ||||
<section anchor='intro'><name>Introduction</name> | ||||
<t>This is the first paragraph of the introduction to this | ||||
document. This introduction is probably much shorter than it would | ||||
be for a real Internet Internet Draft.</t> | ||||
<t>Something to note about this paragraph is that it has a | ||||
pointer to <xref target='protocol'/>, and one to | ||||
<xref target='haiku'/>, both of which appear later in the | ||||
document.</t> | ||||
<iref item='Introduction' subitem='verbiage' primary='true'/> | ||||
<!-- This is a comment. Comments in the XML do not appear in the | ||||
output formats. --> | output formats. --> | |||
<section numbered="true" toc="default"> | ||||
<section><name>Terminology</name> | <name>Terminology</name> | |||
<t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in <xref target="RFC2119" format="default" pageno="false"/>.</t> | ||||
<t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL | </section> | |||
NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" | </section> | |||
in this document are to be interpreted as described in | <section anchor="protcol" numbered="true" toc="default"> | |||
<xref target='RFC2119'/>.</t> | <name>The Protocol Being Described</name> | |||
<t>This is a reference to <xref target="RFC6949" format="default" pageno="false"/>. Actually, the reference itself is not all that interesting, but the way that the reference is incorporated is. Note that the inclusion of RFC 2119 was done at the top of the XML, while the information for RFC 6949 is done directly in the references section.</t> | ||||
</section> | <t>The <eref target="http://www.ietf.org">IETF web site</eref> is <em>quite</em> <strong>nice</strong>, <tt>isn't it</tt>? Unlike other web sites, it doesn't use gratuitous vertical space.</t> | |||
</section> | ||||
</section> | <section numbered="true" toc="default"> | |||
<name>Basic Lists</name> | ||||
<section anchor='protcol'><name>The Protocol Being Described</name> | <t>Bulleted lists are good for items that are not ordered: </t> | |||
<ul> | ||||
<t>This is a reference to <xref target='RFC6949'/>. | <li>This is the first item.</li> | |||
Actually, the reference itself is not all that interesting, but the | <li>This is the second item. Here comes a sub-list: <ul><li>This is the first sub-item.</li><li><t>This is the second sub-item</t><t>and some more detail on the second sub-item.</t></li></ul> </li> | |||
way that the reference is incorporated is. Note that the inclusion | <li>This is the item after the sub-list.</li> | |||
of RFC 2119 was done at the top of the XML, while the information | </ul> | |||
for RFC 6949 is done directly in the references section.</t> | <t/> | |||
<t>Numbered lists are good for items that are ordered: </t> | ||||
<t>The <eref target='http://www.ietf.org'>IETF web site</eref> is | <ol style="1"> | |||
<em>quite</em> | <li>This is the first item.</li> | |||
<strong>nice</strong>, | <li>This is the second item. Here comes a sub-list, but with letters: <ol style="a"><li>This is the first sub-item.</li><li>This is the second sub-item</li></ol></li> | |||
<tt>isn't it</tt>? | <li>This is the item after the sub-list.</li> | |||
Unlike other web sites, it doesn't use | </ol> | |||
gratuitous vertical space.</t> | <t/> | |||
<t>And an example of hanging indent. </t> | ||||
</section> | <dl hanging="true"> | |||
<dt>Trees</dt> | ||||
<section><name>Basic Lists</name> | <dd>These are bigger plants</dd> | |||
<dt>Lichen</dt> | ||||
<t>Bulleted lists are good for items that | <dd>These are smaller plants</dd> | |||
are not ordered: | </dl> | |||
<t/> | ||||
</t><ul> | <t>And the always-interesting "format" for lists. </t> | |||
<ol style="--%d--"> | ||||
<li>This is the first first item.</li> | <li>An element that gets a funny bullet.</li> | |||
</ol> | ||||
<li>This is the second item. Here comes a sub-list: | <t/> | |||
</section> | ||||
<ul> | <section numbered="true" toc="default"> | |||
<name>Figures</name> | ||||
<li>This is the first sub-item.</li> | <t>The following is a figure with a caption. Also, it uses the ampersand (&) and less than (<) characters in the example text.</t> | |||
<figure anchor="haiku" title="" suppress-title="false" align="left" alt="" width="" height=""> | ||||
<li><t>This is the second sub-item</t> | <name>This could be haiku</name> | |||
<t>and some more detail on the second sub-item.</t></li> | <artwork type="haiku" align="left" xml:space="preserve" name="" alt="" width="" height=""> | |||
</ul> | ||||
</li> | ||||
<li>This is the item after the sub-list.</li> | ||||
</ul><t></t> | ||||
<t>Numbered lists are good for items that are ordered: | ||||
</t><ol style='1'> | ||||
<li>This is the first item.</li> | ||||
<li>This is the second item. Here comes a sub-list, but | ||||
with letters: | ||||
<ol style='a'> | ||||
<li>This is the first sub-item.</li> | ||||
<li>This is the second sub-item</li> | ||||
</ol></li> | ||||
<li>This is the item after the sub-list.</li> | ||||
</ol><t></t> | ||||
<t>And an example of hanging indent. | ||||
</t><dl hanging='true'> | ||||
<dt>Trees</dt><dd>These are bigger plants</dd> | ||||
<dt>Lichen</dt><dd>These are smaller plants</dd> | ||||
</dl><t></t> | ||||
<t>And the always-interesting "format" for lists. | ||||
</t><ol style='--%d--'> | ||||
<li>An element that gets a funny bullet.</li> | ||||
</ol><t></t> | ||||
</section> | ||||
<section><name>Figures</name> | ||||
<t>The following is a figure with a caption. | ||||
Also, it uses the ampersand (&) and less than | ||||
(<) characters in the example text.</t> | ||||
<figure anchor='haiku'><name>This could be haiku</name> | ||||
<artwork type='haiku' align='left'> | ||||
The ampersand (&) and | The ampersand (&) and | |||
less than (<) are two characters | less than (<) are two characters | |||
that need escaping. | that need escaping. | |||
</artwork> | </artwork> | |||
</figure> | </figure> | |||
<t>Here are two short figures with no titles and with odd alignment.</t> | ||||
<t>Here are two short figures with no titles and with | <figure title="" suppress-title="false" align="left" alt="" width="" height=""> | |||
odd alignment.</t> | <artwork align="center" xml:space="preserve" name="" type="" alt="" width="" height=""> | |||
<figure><artwork align='center'> | ||||
This might appear in the center. | This might appear in the center. | |||
</artwork></figure> | </artwork> | |||
</figure> | ||||
<figure><artwork align='right'> | <figure title="" suppress-title="false" align="left" alt="" width="" height=""> | |||
<artwork align="right" xml:space="preserve" name="" type="" alt="" width="" height=""> | ||||
This might appear right-aligned. | This might appear right-aligned. | |||
</artwork></figure> | </artwork> | |||
</figure> | ||||
<!-- ADDED TO TEST SOURCE CODE --> | <!-- ADDED TO TEST SOURCE CODE --> | |||
<figure> | <figure title="" suppress-title="false" align="left" alt="" width="" height=""> | |||
<sourcecode type="abnf"><![CDATA[ | <sourcecode type="abnf"><![CDATA[ | |||
ext-value = charset "'" [ language ] "'" value-chars | ext-value = charset "'" [ language ] "'" value-chars | |||
; like RFC 2231's <extended-initial-value> | ; like RFC 2231's <extended-initial-value> | |||
; (see [RFC2231], Section 7) | ; (see [RFC2231], Section 7) | |||
charset = "UTF-8" / mime-charset | charset = "UTF-8" / mime-charset | |||
mime-charset = 1*mime-charsetc | mime-charset = 1*mime-charsetc | |||
mime-charsetc = ALPHA / DIGIT | mime-charsetc = ALPHA / DIGIT | |||
/ "!" / "#" / "$" / "%" / "&" | / "!" / "#" / "$" / "%" / "&" | |||
/ "+" / "-" / "^" / "_" / "`" | / "+" / "-" / "^" / "_" / "`" | |||
skipping to change at line 236 | skipping to change at line 140 | |||
pct-encoded = "%" HEXDIG HEXDIG | pct-encoded = "%" HEXDIG HEXDIG | |||
; see [RFC3986], Section 2.1 | ; see [RFC3986], Section 2.1 | |||
attr-char = ALPHA / DIGIT | attr-char = ALPHA / DIGIT | |||
/ "!" / "#" / "$" / "&" / "+" / "-" / "." | / "!" / "#" / "$" / "&" / "+" / "-" / "." | |||
/ "^" / "_" / "`" / "|" / "~" | / "^" / "_" / "`" / "|" / "~" | |||
; token except ( "*" / "'" / "%" ) | ; token except ( "*" / "'" / "%" ) | |||
]]></sourcecode> | ]]></sourcecode> | |||
</figure> | </figure> | |||
<!-- END OF ADDITION --> | ||||
<!-- END OF ADDITION --> | <t>Here is a figure that is actually pulled from somewhere else. <cref source="cs" anchor="rememberme">Remember to check whether that file still exists.</cref></t> | |||
<figure title="" suppress-title="false" align="left" alt="" width="" height=""> | ||||
<t>Here is a figure that is actually pulled from somewhere else. | <artwork src="http://www.example.com/~employees/chrissmith/artwork.txt" xml:space="preserve" name="" type="" align="left" alt="" width="" height=""> | |||
<cref source='cs' anchor='rememberme'> | ||||
Remember to check whether that file still exists.</cref></t> | ||||
<figure><artwork | ||||
src='http://www.example.com/~employees/chrissmith/artwork.txt'> | ||||
</artwork> | </artwork> | |||
</figure> | </figure> | |||
</section> | ||||
</section> | <section numbered="true" toc="default"> | |||
<name>Tables</name> | ||||
<section><name>Tables</name> | <t>The following is a table example.</t> | |||
<t keepWithNext="true">These are sometimes called "inert" gasses.</t> | ||||
<t>The following is a table example.</t> | <table title="The Noble Gases"> | |||
<tr> | ||||
<t keepWithNext='true'>These are sometimes called "inert" | <th>Name</th> | |||
gasses.</t><table title='The Noble Gases'> | <th align="center">Symbol</th> | |||
<th align="center">Atormic Number</th> | ||||
<tr><th>Name</th> | </tr> | |||
<th align='center'>Symbol</th> | <tr> | |||
<th align='center'>Atormic Number</th></tr> | <td>Helium</td> | |||
<td align="center">He</td> | ||||
<tr><td>Helium</td> | <td align="center">2</td> | |||
<td align='center'>He</td> | </tr> | |||
<td align='center'>2</td></tr> | <tr> | |||
<td>Neon</td> | ||||
<tr><td>Neon</td> | <td align="center">Ne</td> | |||
<td align='center'>Ne</td> | <td align="center">10</td> | |||
<td align='center'>10</td></tr> | </tr> | |||
<tr> | ||||
<tr><td>Argon</td> | <td>Argon</td> | |||
<td align='center'>Ar</td> | <td align="center">Ar</td> | |||
<td align='center'>18</td></tr> | <td align="center">18</td> | |||
</tr> | ||||
<tr><td>Krypton</td> | <tr> | |||
<td align='center'>Kr</td> | <td>Krypton</td> | |||
<td align='center'>36</td></tr> | <td align="center">Kr</td> | |||
<td align="center">36</td> | ||||
<tr><td>Xenon</td> | </tr> | |||
<td align='center'>Xe</td> | <tr> | |||
<td align='center'>54</td></tr> | <td>Xenon</td> | |||
<td align="center">Xe</td> | ||||
<tr><td>Radon</td> | <td align="center">54</td> | |||
<td align='center'>Rn</td> | </tr> | |||
<td align='center'>86</td></tr> | <tr> | |||
<td>Radon</td> | ||||
</table><t keepWithPrevious='true'>Source: Chemistry 101</t> | <td align="center">Rn</td> | |||
<td align="center">86</td> | ||||
<t>The following is a right-aligned table with "full" | </tr> | |||
(but not "all") lines between cells.</t> | </table> | |||
<t keepWithPrevious="true">Source: Chemistry 101</t> | ||||
<table align='right' style='full'> | <t>The following is a right-aligned table with "full" (but not "all") lines between cells.</t> | |||
<tr><th>Time</th> | <table align="right" style="full"> | |||
<th align='right'>Mood</th></tr> | <tr> | |||
<th>Time</th> | ||||
<tr><td>Morning</td> | <th align="right">Mood</th> | |||
<td align='right'>Happy!</td></tr> | </tr> | |||
<tr> | ||||
<tr><td>Afternoon</td> | <td>Morning</td> | |||
<td align='right'>Happy!</td></tr> | <td align="right">Happy!</td> | |||
</tr> | ||||
<tr><td>Evening</td> | <tr> | |||
<td align='right'>Somber</td></tr> | <td>Afternoon</td> | |||
<td align="right">Happy!</td> | ||||
</table> | </tr> | |||
<tr> | ||||
</section> | <td>Evening</td> | |||
<td align="right">Somber</td> | ||||
<section anchor='IANA'><name>IANA Considerations</name> | </tr> | |||
</table> | ||||
<t>None.</t> | </section> | |||
<section anchor="IANA" numbered="true" toc="default"> | ||||
</section> | <name>IANA Considerations</name> | |||
<t>None.</t> | ||||
<section anchor='Security'><name>Security Considerations</name> | </section> | |||
<section anchor="Security" numbered="true" toc="default"> | ||||
<t>There are no security considerations for an imaginary | <name>Security Considerations</name> | |||
Internet Draft.</t> | <t>There are no security considerations for an imaginary Internet Draft.</t> | |||
</section> | ||||
</section> | <section anchor="Acknowledgements" numbered="true" toc="default"> | |||
<name>Acknowledgements</name> | ||||
<section anchor='Acknowledgements'><name>Acknowledgements</name> | <t>Some of the things included in this draft came from Elwyn Davies' templates.</t> | |||
</section> | ||||
<t>Some of the things included in this draft came from | </middle> | |||
Elwyn Davies' templates.</t> | <back> | |||
<references title="References"> | ||||
</section> | <name>Normative References</name> | |||
</middle> | ||||
<back> | ||||
<references><name>Normative References</name> | ||||
<xi:include href= | ||||
'http://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml'/> | ||||
</references> | ||||
<references><name>Informative References</name> | ||||
<reference anchor='RFC6949'> | ||||
<front> | ||||
<title>RFC Series Format Requirements and Future Development</title> | ||||
<author initials='H.' surname='Flanagan' fullname='H. Flanagan'> | ||||
<organization/></author> | ||||
<author initials='N.' surname='Brownlee' fullname='N. Brownlee'> | ||||
<organization/></author> | ||||
<date year='2013' month='May'/> | ||||
</front> | ||||
<seriesInfo name='RFC' value='6949'/> | ||||
<annotation>This is a primary reference work.</annotation> | ||||
</reference> | ||||
<reference anchor='RED' | ||||
target='http://www.aciri.org/floyd/papers/early.pdf'> | ||||
<front> | ||||
<title>Random Early Detection (RED) gateways for Congestion | ||||
Avoidance</title> | ||||
<author fullname='Sally Floyd' initials='S' surname='Floyd'> | ||||
<organization>LBL</organization> | ||||
</author> | ||||
<author fullname='Van Jacobson' initials='V' surname='Jacobson'> | ||||
<organization>LBL</organization> | ||||
</author> | ||||
<date month='August' year='1993'/> | ||||
</front> | ||||
<seriesInfo | ||||
name='IEEE/ACM Transactions on on Networking' value='1(4) 397--413'/> | ||||
</reference> | ||||
</references> | <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119" xml:base="http://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml"> | |||
<front> | ||||
<title>Key words for use in RFCs to Indicate Requirement Levels</title> | ||||
<author initials="S." surname="Bradner" fullname="S. Bradner"> | ||||
<organization/> | ||||
</author> | ||||
<date year="1997" month="March"/> | ||||
<abstract> | ||||
<t>In many standards track documents several words are used to signify the requirements in the specification. These words are often capitalized. This document defines these words as they should be interpreted in IETF documents. This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t> | ||||
</abstract> | ||||
</front> | ||||
<seriesInfo name="BCP" value="14"/> | ||||
<seriesInfo name="RFC" value="2119"/> | ||||
<seriesInfo name="DOI" value="10.17487/RFC2119"/> | ||||
</reference> | ||||
</back> | </references> | |||
</rfc> | <references title="References"> | |||
<name>Informative References</name> | ||||
<reference anchor="RFC6949" quote-title="true"> | ||||
<front> | ||||
<title>RFC Series Format Requirements and Future Development</title> | ||||
<author initials="H." surname="Flanagan" fullname="H. Flanagan"> | ||||
<organization/> | ||||
</author> | ||||
<author initials="N." surname="Brownlee" fullname="N. Brownlee"> | ||||
<organization/> | ||||
</author> | ||||
<date year="2013" month="May"/> | ||||
</front> | ||||
<seriesInfo name="RFC" value="6949"/> | ||||
<annotation>This is a primary reference work.</annotation> | ||||
</reference> | ||||
<reference anchor="RED" target="http://www.aciri.org/floyd/papers/early.pdf" quote-title="true"> | ||||
<front> | ||||
<title>Random Early Detection (RED) gateways for Congestion Avoidance</title> | ||||
<author fullname="Sally Floyd" initials="S" surname="Floyd"> | ||||
<organization>LBL</organization> | ||||
</author> | ||||
<author fullname="Van Jacobson" initials="V" surname="Jacobson"> | ||||
<organization>LBL</organization> | ||||
</author> | ||||
<date month="August" year="1993"/> | ||||
</front> | ||||
<seriesInfo name="IEEE/ACM Transactions on Networking" value="1(4) 397--413"/> | ||||
</reference> | ||||
</references> | ||||
</back> | ||||
</rfc> | ||||
End of changes. 10 change blocks. | ||||
327 lines changed or deleted | 196 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |