X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Delivered-To: barryleiba.mailing.lists@gmail.com
Received: by 10.59.3.41 with SMTP id bt9csp122700ved;
        Wed, 2 Jan 2013 02:29:36 -0800 (PST)
X-Received: by 10.66.76.198 with SMTP id m6mr135460196paw.32.1357122575567;
        Wed, 02 Jan 2013 02:29:35 -0800 (PST)
Return-Path: <abnf-discuss-bounces@ietf.org>
Received: from mail.ietf.org (mail.ietf.org. [2001:1890:126c::1:1e])
        by mx.google.com with ESMTP id o10si44435737paw.64.2013.01.02.02.29.34;
        Wed, 02 Jan 2013 02:29:35 -0800 (PST)
Received-SPF: pass (google.com: domain of abnf-discuss-bounces@ietf.org designates 2001:1890:126c::1:1e as permitted sender) client-ip=2001:1890:126c::1:1e;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of abnf-discuss-bounces@ietf.org designates 2001:1890:126c::1:1e as permitted sender) smtp.mail=abnf-discuss-bounces@ietf.org; dkim=pass (test mode) header.i=@ietf.org
Received: from ietfa.amsl.com (localhost [127.0.0.1])
	by ietfa.amsl.com (Postfix) with ESMTP id 1A08F21F908C;
	Wed,  2 Jan 2013 02:29:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1;
	t=1357122574; bh=oXrZDA4dj/y2+gTTSPaLycd9KASf/MZFRA3X3IYiOkw=;
	h=Date:From:To:In-Reply-To:Message-ID:References:MIME-Version:
	 Content-Type:Cc:Subject:List-Id:List-Unsubscribe:List-Archive:
	 List-Post:List-Help:List-Subscribe:Sender;
	b=Xd+yeygBbn7BsNhu7PaZJYdwH4AL6YqPVXSC2oabyr2DtP4q+AnQ0XElmR1EkvGSV
	 Oc0BcBktRA0BzN2D9WG1l60e1Hl0VCF8EsQC+vYRWhBaWDL4IDJUSWJV70LFcmvk5Z
	 Q48Sy6vLL6TUmVZ70ZfEEaDmePyaqURS6/MpMCH4=
X-Original-To: abnf-discuss@ietfa.amsl.com
Delivered-To: abnf-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by ietfa.amsl.com (Postfix) with ESMTP id A990221F9080
	for <abnf-discuss@ietfa.amsl.com>; Wed,  2 Jan 2013 02:29:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.227
X-Spam-Level: 
X-Spam-Status: No, score=-5.227 tagged_above=-999 required=5
	tests=[AWL=-0.117, BAYES_05=-1.11, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.30])
	by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id TVJIE6VEJVwh for <abnf-discuss@ietfa.amsl.com>;
	Wed,  2 Jan 2013 02:29:31 -0800 (PST)
Received: from ppsw-41.csi.cam.ac.uk (ppsw-41.csi.cam.ac.uk [131.111.8.141])
	by ietfa.amsl.com (Postfix) with ESMTP id AAD7621F9074
	for <abnf-discuss@ietf.org>; Wed,  2 Jan 2013 02:29:27 -0800 (PST)
X-Cam-AntiVirus: no malware found
X-Cam-SpamDetails: not scanned
X-Cam-ScannerInfo: http://www.ucs.cam.ac.uk/email/scanner/
Received: from hermes-1.csi.cam.ac.uk ([131.111.8.51]:36870)
	by ppsw-41.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:25)
	with esmtpa (EXTERNAL:fanf2) id 1TqLZd-0003ZG-QM (Exim 4.72)
	(return-path <fanf2@hermes.cam.ac.uk>); Wed, 02 Jan 2013 10:29:25 +0000
Received: from fanf2 by hermes-1.csi.cam.ac.uk (hermes.cam.ac.uk)
	with local id 1TqLZd-0006fL-4j (Exim 4.72)
	(return-path <fanf2@hermes.cam.ac.uk>); Wed, 02 Jan 2013 10:29:25 +0000
Date: Wed, 2 Jan 2013 10:29:25 +0000
From: Tony Finch <dot@dotat.at>
X-X-Sender: fanf2@hermes-1.csi.cam.ac.uk
To: Paul Kyzivat <pkyzivat@alum.mit.edu>
In-Reply-To: <50DCD850.3020106@alum.mit.edu>
Message-ID: <alpine.LSU.2.00.1301021022570.15409@hermes-1.csi.cam.ac.uk>
References: <50DCD850.3020106@alum.mit.edu>
User-Agent: Alpine 2.00 (LSU 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED;
	BOUNDARY="1870869256-945697767-1357122565=:15409"
Cc: abnf-discuss@ietf.org
Subject: Re: [abnf-discuss] Some thoughts about how to make ABNF more
 convenient to use
X-BeenThere: abnf-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "General discussion about tools,
	activities and capabilities involving the ABNF meta-language"
	<abnf-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/abnf-discuss>,
	<mailto:abnf-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/abnf-discuss>
List-Post: <mailto:abnf-discuss@ietf.org>
List-Help: <mailto:abnf-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/abnf-discuss>,
	<mailto:abnf-discuss-request@ietf.org?subject=subscribe>
Sender: abnf-discuss-bounces@ietf.org
Errors-To: abnf-discuss-bounces@ietf.org

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--1870869256-945697767-1357122565=:15409
Content-Type: TEXT/PLAIN; charset=UTF-8
Content-Transfer-Encoding: QUOTED-PRINTABLE

Paul Kyzivat <pkyzivat@alum.mit.edu> wrote:
>
> Extend xml2rfc with:
> =E2=80=A2 A way to tag sections of the document that contain ABNF, so tha=
t
>   its easy to extract just the ABNF from the XML document.

This already exists - see RFC 2629 section 2.3.1.3 on the <figure>
element, where the final paragraph says:

   Finally, the "artwork" element has two optional attributes: "name"
   and "type". The former is used to suggest a filename to use when
   storing the content of the "artwork" element, whilst the latter
   contains a suggestive data-typing for the content.

xml2rfc understands <artwork type=3D"abnf"> - see section 6.2 of its README=
=2E
It performs ABNF syntax checks and colourizing, but I don't think it
checks for undefined rule names (though I haven't tried it recently).

Tony.
--=20
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
Forties, Cromarty: East, veering southeast, 4 or 5, occasionally 6 at first=
=2E
Rough, becoming slight or moderate. Showers, rain at first. Moderate or goo=
d,
occasionally poor at first.
--1870869256-945697767-1357122565=:15409
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
abnf-discuss mailing list
abnf-discuss@ietf.org
https://www.ietf.org/mailman/listinfo/abnf-discuss

--1870869256-945697767-1357122565=:15409--

