Examples of the 'XML2RFC' Version 2 and 3 Vocabularies
draft-hoffman-rfcexamples-03

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Last updated 2015-05-07
Stream (None)
Intended RFC status (None)
Formats plain text pdf html bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                         P. Hoffman
Internet-Draft                                            VPN Consortium
Intended status: Informational                                 T. Hansen
Expires: November 7, 2015                              AT&T Laboratories
                                                             May 6, 2015

         Examples of the 'XML2RFC' Version 2 and 3 Vocabularies
                    draft-hoffman-rfcexamples-03

Abstract

   This document gives examples of use of the "XML2RFC" vocabulary.  The
   examples cover both version 2 and version 3.  The purposes of this
   draft is to give developers of tools that process v2 and/or v3
   documents a corpus to test against.

Editorial Note (To be removed by RFC Editor)

   Discussion of this draft takes place on the rfc-interest mailing list
   (rfc-interest@rfc-editor.org), which has its home page at [1].

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on November 7, 2015.

Copyright Notice

   Copyright (c) 2015 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents

Hoffman & Hansen        Expires November 7, 2015                [Page 1]
Internet-Draft              RFC XML Examples                    May 2015

   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Example of a v2 Document  . . . . . . . . . . . . . . . . . .   2
   3.  Example of a v3 Document  . . . . . . . . . . . . . . . . . .   9
   4.  Security Considerations . . . . . . . . . . . . . . . . . . .  16
   5.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  17
   6.  Acknowledgments . . . . . . . . . . . . . . . . . . . . . . .  17
   7.  Normative References  . . . . . . . . . . . . . . . . . . . .  17
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  17

1.  Introduction

   This document gives examples of use of the "XML2RFC" vocabulary.  The
   examples cover both version 2 [XML2RFCv2] and version 3 [XML2RFCv3].
   The purpose of this document is to help developers of tools that
   process v2 and/or v3 documents to see examples of the documents.

   Earlier versions of this document said that it was to help people
   with v2 documents transition to v3.  The authors have backed off from
   that goal.  Instead, we point out that the changes from v2 to v3 are
   listed in detail in Section 1.2 of [XML2RFCv3].  Also, we expect that
   there will be additional documents created later describing the
   v2-to-v3 conversion, as well as tools that will do as much of the
   conversion as possible.

   This is meant to be a short-lived document.  It is not expected that
   this document will be published as an RFC.

2.  Example of a v2 Document

   The following is a v2 document that has all the elements that are
   needed for typical Internet-Drafts.

   <?xml version="1.0" encoding="US-ASCII"?>
   <!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
   <!ENTITY RFC2119 SYSTEM
     "http://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml">
   ]>

   <?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
   <?rfc strict="yes" ?>

Hoffman & Hansen        Expires November 7, 2015                [Page 2]
Internet-Draft              RFC XML Examples                    May 2015

   <rfc
     category="std"
     docName="draft-example-of-xml-00"
     ipr="trust200902"
     consensus="no"
     submissionType="IETF"
     updates="1234, 5678"
     xml:lang="en"
   >

   <front>
   <title abbrev="XML Example">
   An Example of Using XML for an Internet Draft
   </title>

   <author fullname="Chris Smith" initials="C." surname="Smith">
   <organization abbrev="EC">ExampleCorp</organization>
   <address>
   <postal>
   <street>123 Exemplar Way</street>
Show full document text