Re: [netmod] CODE BEGINS ENDS for examples ?

Benoit Claise <bclaise@cisco.com> Mon, 23 March 2020 15:54 UTC

Return-Path: <bclaise@cisco.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DB7B13A099C for <netmod@ietfa.amsl.com>; Mon, 23 Mar 2020 08:54:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.589
X-Spam-Level:
X-Spam-Status: No, score=-9.589 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, T_SPF_TEMPERROR=0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RQztmLRuskqy for <netmod@ietfa.amsl.com>; Mon, 23 Mar 2020 08:54:26 -0700 (PDT)
Received: from aer-iport-1.cisco.com (aer-iport-1.cisco.com [173.38.203.51]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 755E43A0997 for <netmod@ietf.org>; Mon, 23 Mar 2020 08:54:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4985; q=dns/txt; s=iport; t=1584978866; x=1586188466; h=subject:to:references:from:message-id:date:mime-version: in-reply-to; bh=grhhcNAfLZm6hy7s86BsNcQMkUBIMZ0ibpd7Eb1Cqc4=; b=J46qcQmPaUEOzPPO0Y3tS4ScmKY5A+rOqGtUtivTjBCHGNY1Swo7ynU8 pkD+wlaPbD7xbN5BtBP2HI3yCVym4qZhpqqDgwKw+lVpcLbJ17aMqLF7q 5P0oZlTRlYxNC+7o2t8+/NHEd2serN230d0D8vrYlK84YJXN+Z8Af5SfW A=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0A5BAAH23he/xbLJq1mHAEBAQEBBwE?= =?us-ascii?q?BEQEEBAEBgXuBJYFwVAEgEiqNGodoLZM6hiSBZwkBAQEMAQEYAQoMBAEBhAB?= =?us-ascii?q?FAoJLOBMCAwEBCwEBBQEBAQIBBQRthVYMhWQBAQECAQEBK0EQCwtGJzAGAQw?= =?us-ascii?q?GAgEBgyIBglwgD6wVgieFS4NMgTgGgTiFIA2HHIFBP4E4gm0+gmQBAQIBgS0?= =?us-ascii?q?BEgGGEASOBaFSdoJGhnFtjyMGHY8ljDSPDYkNiGmJewIECwIVgWkiZ3EzGgg?= =?us-ascii?q?bFTuCbFAYDZckhUJAAzACAY8TAQE?=
X-IronPort-AV: E=Sophos; i="5.72,296,1580774400"; d="scan'208,217"; a="24678878"
Received: from aer-iport-nat.cisco.com (HELO aer-core-3.cisco.com) ([173.38.203.22]) by aer-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 23 Mar 2020 15:54:24 +0000
Received: from [10.55.221.38] (ams-bclaise-nitro5.cisco.com [10.55.221.38]) (authenticated bits=0) by aer-core-3.cisco.com (8.15.2/8.15.2) with ESMTPSA id 02NFsNpa018914 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 Mar 2020 15:54:24 GMT
To: =?UTF-8?Q?Bal=c3=a1zs_Lengyel?= <balazs.lengyel=40ericsson.com@dmarc.ietf.org>, "'netmod@ietf.org'" <netmod@ietf.org>
References: =?utf-8?q?=3CDB7PR07MB401126C42CF7ECA417BC82B5F0F50=40DB7PR07MB4?= =?utf-8?q?011=2Eeurprd07=2Eprod=2Eoutlook=2Ecom=3E?=
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <8dce6a22-c6f6-b59e-b7e5-3aec4bb412e9@cisco.com>
Date: Mon, 23 Mar 2020 16:54:22 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2
MIME-Version: 1.0
In-Reply-To: =?utf-8?q?=3CDB7PR07MB401126C42CF7ECA417BC82B5F0F50=40DB7PR07MB?= =?utf-8?q?4011=2Eeurprd07=2Eprod=2Eoutlook=2Ecom=3E?=
Content-Type: multipart/alternative; boundary="------------DF9CAF88F553AAE473F583B4"
Content-Language: en-US
X-Authenticated-User: bclaise
X-Outbound-SMTP-Client: 10.55.221.38, ams-bclaise-nitro5.cisco.com
X-Outbound-Node: aer-core-3.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/HlJgxxwZ9s7f1RWRMBpZgOTG1BA>
Subject: Re: [netmod] CODE BEGINS ENDS for examples ?
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Mar 2020 15:54:36 -0000

Hi Balázs,

https://tools.ietf.org/html/rfc8407


        3.2.1 <https://tools.ietf.org/html/rfc8407#section-3.2.1>.
        Example Module



    Example modules are not code components.  The <CODE BEGINS>
    convention MUST NOT be used for example modules.

Regards, Benoit

> Hello,
>
> Is it allowed/recommended to use <CODE BEGINS> <CODE ENDS> around 
> examples. In my case it would be examples of XML and JSON instance 
> data. I would find it rather useful.
>
> As a second step if someone could combine rfcstrip with 
> artwork-unfolding that would be even better.
>
> Regards Balazs
>
> -- 
>
> Balazs Lengyel                    Senior 
> Specialist                       Ericsson Hungary Ltd.
>
> Mobile: +36-70-330-7909              email: Balazs.Lengyel@ericsson.com
>
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod