Re: [netmod] WG adoption poll draft-kwatsen-netmod-artwork-folding-08

Kent Watsen <kwatsen@juniper.net> Tue, 23 October 2018 18:06 UTC

Return-Path: <kwatsen@juniper.net>
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 2EF4C130E50 for <netmod@ietfa.amsl.com>; Tue, 23 Oct 2018 11:06:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.171
X-Spam-Level:
X-Spam-Status: No, score=-1.171 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.47, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, KHOP_DYNAMIC=1.999, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net
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 FFxAMzOOvgOZ for <netmod@ietfa.amsl.com>; Tue, 23 Oct 2018 11:06:39 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 50970130E4D for <netmod@ietf.org>; Tue, 23 Oct 2018 11:06:39 -0700 (PDT)
Received: from pps.filterd (m0108161.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w9NI3vmv015016; Tue, 23 Oct 2018 11:06:38 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=PPS1017; bh=oNzqK4IkbWfGaynCuy/CoSXzL7Sizj9awE/RPfGe/uE=; b=g2krEwY3ZizQ5OQnF/YvOzJ5ZQ1obSPJltcZ1q2u03zSM0UliBaJskOUotnDJe0i2g/w 7WkGWGCRI4ZDyLf77ANB/+gjFy9iRviYanFp83suviAW7Cef5z7thSC7mcsMjEjA0Gn0 ksxhRa04ZwFs2fb7W/jCG/o3FDcl4D9uMP/4AqnRSgK6zg1UhQEXrVmlAgG6ngI/meIa W8Pw1lWn9lm7cCDwjIMPurw+mTyMrrbQfhykQvGY1VxKY8WocqOFptqLEft+n92hlTVv HgZp5A4XruWmeFGy/zGyupyywcm2OJxiKDLWmS0OmA52Uw2UxFsHvFy+zJTHtxsX6Gn1 hQ==
Received: from nam03-co1-obe.outbound.protection.outlook.com (mail-co1nam03lp0021.outbound.protection.outlook.com [216.32.181.21]) by mx0b-00273201.pphosted.com with ESMTP id 2na86ng2mk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 23 Oct 2018 11:06:37 -0700
Received: from DM6PR05MB4665.namprd05.prod.outlook.com (20.176.109.202) by DM6PR05MB4235.namprd05.prod.outlook.com (20.176.72.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1273.11; Tue, 23 Oct 2018 18:06:35 +0000
Received: from DM6PR05MB4665.namprd05.prod.outlook.com ([fe80::7540:75f2:3803:298a]) by DM6PR05MB4665.namprd05.prod.outlook.com ([fe80::7540:75f2:3803:298a%5]) with mapi id 15.20.1273.014; Tue, 23 Oct 2018 18:06:35 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: "adrian@olddog.co.uk" <adrian@olddog.co.uk>, 'Martin Bjorklund' <mbj@tail-f.com>, "lhotka@nic.cz" <lhotka@nic.cz>
CC: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] WG adoption poll draft-kwatsen-netmod-artwork-folding-08
Thread-Index: AQHUZuQVidlHv6+/gECDyKpE/4pPA6UszYGAgAAL/4CAAAYhgIAACVqAgAACYQCAABdRgIAAA3EAgAAPDoD//9BxAA==
Date: Tue, 23 Oct 2018 18:06:35 +0000
Message-ID: <6E57629A-BE33-428D-9117-883189ED3FB2@juniper.net>
References: <326034f9a137b0489137bc39616d166f221e02a2.camel@nic.cz> <20181023.162748.209178731500337122.mbj@tail-f.com> <27cbd2fe3dd114e981fce2abb1723c5115550142.camel@nic.cz> <20181023.180334.1196557244986533615.mbj@tail-f.com> <07d201d46af1$7b3e73a0$71bb5ae0$@olddog.co.uk>
In-Reply-To: <07d201d46af1$7b3e73a0$71bb5ae0$@olddog.co.uk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.10.3.181015
x-originating-ip: [66.129.241.14]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM6PR05MB4235; 6:gMo4ycgq9dBNUOc6GzYb+UbsxSGrEiETgm0nOdiKOqlYLXIXjUfwIk2lDGWTsIvEg7kM/ZggfkEL0kMOTczJ3fYEeVMn4iESgrOhc3bHwPTyhScNQ444BSAIkWT681ANa3xdYUYfWWnb2jedBorQOkoE+s2JKExalD2ncZ2PSQppJ59xDS/1Znxg+Wi//p9i1IcM0YbsRhDA7JIoAxrl87sl/IrvK0RO44ZtgYAU5T3AHY8JReKjSg40hu9VanmXrl6o6Wrq/l6ETql2nA5wYKA4vjMj5o+T5WoBaRzvYc3hkERErUPGI6qUpZfV4YSF+2IwX5Ju8z3ONxC6uIFl2qHRw/MTnt8Dw/1QISKWJldk4hMaxaqEp33EoNwqcxF49iEuGseLtHGHVhJEidBG7gaxtVscy5HYxR3vnoPYgnKuNgMjbwBT2YvtO411FlUHt4IWtN14cFAdxKAcemjkbA==; 5:QKn2P11MTfNQxE4xNHIJEnT4JLPWxsEfV5D1E940fz+XRpcwzGQW+ZLiYFjHosCmCyw7QlN1uX8ukKecHv6ptlO/imyVNArC7/opnHp3Mhz9+9VjSSX4Ot1u/D8TPAJkCti5b3T09+Z3LSGsO8GBgnJaIX72CqyavSBgFNo1Le4=; 7:1XxW6UQdsM02tbZ/VMgzv8as07cy6ceBPwe0UmRn6jCaC3r9805JxOSOZYaiHarID3awI4FCZxylTDNSa3dVgFUssTqXgSI1RT6oEHnr7Hu+8oW0tM1AMKmJzo2WS7Yc/YmAcz6vmye1vM5uBUogpg==
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 203973db-50d9-40b9-0ac7-08d639124553
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DM6PR05MB4235;
x-ms-traffictypediagnostic: DM6PR05MB4235:
x-microsoft-antispam-prvs: <DM6PR05MB42353F0F88839B82D1F7C309A5F50@DM6PR05MB4235.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(10436049006162);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(10201501046)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:DM6PR05MB4235; BCL:0; PCL:0; RULEID:; SRVR:DM6PR05MB4235;
x-forefront-prvs: 0834BAF534
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(346002)(396003)(136003)(39860400002)(366004)(189003)(199004)(13464003)(86362001)(33656002)(25786009)(36756003)(8936002)(6436002)(316002)(6486002)(71190400001)(71200400001)(83716004)(97736004)(4326008)(256004)(4001150100001)(93886005)(575784001)(99286004)(2501003)(81166006)(14444005)(966005)(5250100002)(81156014)(14454004)(53936002)(66066001)(476003)(478600001)(2616005)(76176011)(486006)(6246003)(2906002)(8676002)(446003)(186003)(5660300001)(58126008)(53546011)(110136005)(6116002)(3846002)(26005)(114624004)(6346003)(102836004)(229853002)(6306002)(6506007)(6512007)(68736007)(106356001)(305945005)(105586002)(82746002)(2900100001)(7736002)(11346002); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR05MB4235; H:DM6PR05MB4665.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-microsoft-antispam-message-info: BOmgE/ciCyJq7kt/M8LL2MOORVmMNwEB8rd5IxezGopGxc/VSpwTJjm7TYikPiZWkrALfi41O2aSmJJQ0BZJqwIDyRck6/UDIL+E+p1gL/PPjoEuXcjf+wzztX2FMPpG4xbbxophJorX3wiQB0/ILXmn8Lre9qos/Vl36sKVAQRKOperR3FJXtTNj7eSPfs9pYPp4VU/YXq+tu9zKEBWFRz14g6MalR9ngFUGh57mTJVCfEo+jjhbFDB6D8EPSUO+aEil2S6qP2N8yBXP+idwtkFyEJZ6hncV3eY7/b5Tsy3gO63eOcbrpAy4b0P+1DEnlylRX0ZABJsj8caSfSy3YsKmxPuarNYkVtA6nCyycU=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <CFD41A32AAB3F6448C430071E7509686@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 203973db-50d9-40b9-0ac7-08d639124553
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Oct 2018 18:06:35.2827 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB4235
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-10-23_04:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810230146
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/KqfXqga1z2op-diE0l6mbwQDwNo>
Subject: Re: [netmod] WG adoption poll draft-kwatsen-netmod-artwork-folding-08
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: Tue, 23 Oct 2018 18:06:41 -0000

Correct, this document only defines a file format.

A separate effort will be needed to extend `xml2rfc` and `xym` and the like.

For those that wish to pre-fold their artwork prior to submitting the XML (hand-crafted folding --> max readability), the `xml2rfc` will not fold it again.

For those that prefer to submit the original artwork in the XML (which allows the unfolded artwork in other formats, e.g., HTML), `xml2rfc` will use an automatedly folding solution (for plain-text output only), most likely using the script in the appendix.

K.


-----Original Message-----
From: netmod <netmod-bounces@ietf.org> on behalf of Adrian Farrel <adrian@olddog.co.uk>
Reply-To: "adrian@olddog.co.uk" <adrian@olddog.co.uk>
Date: Tuesday, October 23, 2018 at 12:57 PM
To: 'Martin Bjorklund' <mbj@tail-f.com>, "lhotka@nic.cz" <lhotka@nic.cz>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] WG adoption poll draft-kwatsen-netmod-artwork-folding-08

Nicely said, Martin.
The intention is that if, like Ladislav, you like to work in some long-line
format, then it works as documented and the tools can wrap.
If, like me, and maybe like Martin, you think pretty formatting is something
that improves readability, the draft also lets you do that.

A

> -----Original Message-----
> From: Martin Bjorklund [mailto:mbj@tail-f.com]
> Sent: 23 October 2018 17:04
> To: lhotka@nic.cz
> Cc: adrian@olddog.co.uk; netmod@ietf.org
> Subject: Re: [netmod] WG adoption poll draft-kwatsen-netmod-artwork-folding-
> 08
> 
> Ladislav Lhotka <lhotka@nic.cz> wrote:
> > On Tue, 2018-10-23 at 16:27 +0200, Martin Bjorklund wrote:
> > > Ladislav Lhotka <lhotka@nic.cz> wrote:
> > > > On Tue, 2018-10-23 at 14:45 +0100, Adrian Farrel wrote:
> > > > > Hi,
> > > > >
> > > > > 1. I think you miss the point. While example XML/JSON YANG is included
> in
> > > > > drafts, and while the authors are allowed to produce those drafts as
txt
> > > > > files,
> > > > > or while the authors want to achieve pretty-to-read formatting, this
work
> > > > > falls
> > > > > into the scope of those authors.
> > > >
> > > > The folding of long lines should be done as the very last (automatic)
step
> > > > before the document gets published. Doing it earlier means that the
source
> > > code
> > > > in this folded form can be (accidentally) further edited, which can lead
to
> > > > inconsistencies.
> > >
> > > I will use folding e.g. for instance document examples in XML and
> > > JSON.
> > >
> > > My plan is to keep the example files with manually added breaks in my
> > > repo, and as part of validation run a script that unfolds the
> > > examples, and then validate the result.  The reason for this is that I
> > > think readbility of the examples is important.
> >
> > This seems backwards to me. If you need to edit such an example, you may
> have to
> > remove the backslashes, reformat and insert them again.
> >
> > If it's not possible to fold lines according to the syntax of a given
language,
> > I'd prefer to keep the original lines as long as possible and rely on an
> > automatic procedure just before the final document is rolled out.
> 
> Fortunately, the draft allows us both to work the way we prefer.
> 
> 
> /martin
> 
> 
> >
> > Lada
> >
> > >
> > >
> > > /martin
> > >
> > >
> > >
> > > >
> > > > As long as the document is being moved around and edited, it would be
> better
> > > to
> > > > keep the source code untouched.
> > > >
> > > > Lada
> > > >
> > > > >
> > > > > 2. Yes, the authors discussed the <sourcecode> element and agreed that
> it
> > > will
> > > > > be in scope.
> > > > >
> > > > > However, we are all sort of waiting for xml2rfc v3 and pending
completion,
> > > we
> > > > > want to move this forward for v2 that is in use today.
> > > > >
> > > > > (More than) Happy to come back and revisit this issue when v3 is
> deployed.
> > > > >
> > > > > Thanks,
> > > > > Adrian
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: netmod [mailto:netmod-bounces@ietf.org] On Behalf Of Ladislav
> > > Lhotka
> > > > > > Sent: 23 October 2018 14:24
> > > > > > To: netmod@ietf.org
> > > > > > Subject: Re: [netmod] WG adoption poll draft-kwatsen-netmod-
> artwork-
> > > folding-
> > > > > > 08
> > > > > >
> > > > > > On Tue, 2018-10-23 at 14:40 +0200, Ladislav Lhotka wrote:
> > > > > > > Hi,
> > > > > > >
> > > > > > > I support the adoption.
> > > > > > >
> > > > > > > Comments:
> > > > > > >
> > > > > > > 1. My general feeling is that such technicalities should be
handled by
> > > > > > >    the RFC editor and/or tools rather than YANG module and RFC
> > > authors.
> > > > > > >
> > > > > > > 2. xml2rfc v3 introduced a new element, <sourcecode>, that is
> intended
> > > > > > >    for source code inclusion. This document should therefore cover
> > > this
> > > > > > >    element as well (primarily?). One problem with it is that the
> > > xml2rfc
> > > > > > >    tool automatically adds the <CODE BEGINS> and <CODE ENDS>
> markers,
> > > > > > >    which interferes with YANG convention specified in RFC 8407,
> > > > > > >    sec. 3.2. I have already raised a question about this in the
> > > > > > >    xml2rfc-dev mailing list.
> > > > > >
> > > > > > Update: using the "name" attribute with <sourcecode> does the right
> > > thing.
> > > > > >
> > > > > >     <sourcecode name="ietf-foo@2016-03-20.yang">
> > > > > >     ...
> > > > > >     </sourcecode>
> > > > > >
> > > > > > results in
> > > > > >
> > > > > >     <CODE BEGINS> file "ietf-foo@2016-03-20.yang"
> > > > > >     ...
> > > > > >     <CODE ENDS>
> > > > > >
> > > > > > Lada
> > > > > >
> > > > > > > Lada
> > > > > > >
> > > > > > > Lou Berger <lberger@labn.net> writes:
> > > > > > >
> > > > > > > > All,
> > > > > > > >
> > > > > > > > This is start of a two week poll on making
> > > > > > > > draft-kwatsen-netmod-artwork-folding-08 a working group
> > > > > > > > document. Please send email to the list indicating "yes/support"
or
> > > > > > > > "no/do not support".  If indicating no, please state your
> > > reservations
> > > > > > > > with the document.  If yes, please also feel free to provide
> > > comments
> > > > > > > > you'd like to see addressed once the document is a WG document.
> > > > > > > >
> > > > > > > > The poll ends Oct 1.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > >
> > > > > > > > Lou (and co-chairs)
> > > > > > > >
> > > > > > > > _______________________________________________
> > > > > > > > netmod mailing list
> > > > > > > > netmod@ietf.org
> > > > > > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_netmod&d=DwICAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=KrZPO3Tm-CjeazvOlMCBP13ykv6EmeVWfaImRisTaJ4&s=M_IklytIh6SMhSQPIOsqdywCxwuMgIt5tUJ7wXhdysM&e=
> > > > > > --
> > > > > > Ladislav Lhotka
> > > > > > Head, CZ.NIC Labs
> > > > > > PGP Key ID: 0xB8F92B08A9F76C67
> > > > > >
> > > > > > _______________________________________________
> > > > > > netmod mailing list
> > > > > > netmod@ietf.org
> > > > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_netmod&d=DwICAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=KrZPO3Tm-CjeazvOlMCBP13ykv6EmeVWfaImRisTaJ4&s=M_IklytIh6SMhSQPIOsqdywCxwuMgIt5tUJ7wXhdysM&e=
> > > > --
> > > > Ladislav Lhotka
> > > > Head, CZ.NIC Labs
> > > > PGP Key ID: 0xB8F92B08A9F76C67
> > > >
> > > > _______________________________________________
> > > > netmod mailing list
> > > > netmod@ietf.org
> > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_netmod&d=DwICAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=KrZPO3Tm-CjeazvOlMCBP13ykv6EmeVWfaImRisTaJ4&s=M_IklytIh6SMhSQPIOsqdywCxwuMgIt5tUJ7wXhdysM&e=
> > > >
> > --
> > Ladislav Lhotka
> > Head, CZ.NIC Labs
> > PGP Key ID: 0xB8F92B08A9F76C67
> >

_______________________________________________
netmod mailing list
netmod@ietf.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_netmod&d=DwICAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=KrZPO3Tm-CjeazvOlMCBP13ykv6EmeVWfaImRisTaJ4&s=M_IklytIh6SMhSQPIOsqdywCxwuMgIt5tUJ7wXhdysM&e=