Re: [Ecrit] lost-planned-changes-04: XML vs RelaxNG

Brian Rosen <br@brianrosen.net> Wed, 25 August 2021 21:59 UTC

Return-Path: <br@brianrosen.net>
X-Original-To: ecrit@ietfa.amsl.com
Delivered-To: ecrit@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ADCF13A1568 for <ecrit@ietfa.amsl.com>; Wed, 25 Aug 2021 14:59:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.887
X-Spam-Level:
X-Spam-Status: No, score=-1.887 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=brianrosen-net.20150623.gappssmtp.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 90xx-_CseOIG for <ecrit@ietfa.amsl.com>; Wed, 25 Aug 2021 14:59:32 -0700 (PDT)
Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6B52C3A155D for <ecrit@ietf.org>; Wed, 25 Aug 2021 14:59:32 -0700 (PDT)
Received: by mail-il1-x133.google.com with SMTP id x5so1080364ill.3 for <ecrit@ietf.org>; Wed, 25 Aug 2021 14:59:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brianrosen-net.20150623.gappssmtp.com; s=20150623; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=Lz5THzGrVffvRX0ppByTpwwS/ncbRJeRZIkdaBkKzD8=; b=Lkg6s8fwAH+E4+n8eNehv+i34KOGw3meB6KP4mH7R0a/U1m+NLsBuZNMaAfzdOw4Iz xPkvYjnSzNNHlbCOGBPd8Y13OjXDgMp/YBKet0Lwgb6n7LAbRKGKSwBLAAM4wyXuZZtl tfyS7+QgCRFOdz1NPRuJNEQJIXfdOKDeElFa2q5yYVcEuLV/s42PyVmje8tZF5iJhOuE Zc/fGQyfQ48zaltoyrzLS7xo+oUPMVgRyUT4d7zx31L6OR91UaC/pbu7eDW7YZ3jWq3R fpptXY5InpPQO2WecsxwG+OIo14vmvbcym6qhsDo71G9fvUlcm05DnqBi9Erd79ILwKp qibg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=Lz5THzGrVffvRX0ppByTpwwS/ncbRJeRZIkdaBkKzD8=; b=ln/KGdo1js34H0R8QWs2N5cR8U9H2YxtIERfZM5BLRM8F5WIcAVHZOqTxsG8Jpkc0S OrWWM/yK7N152Pj5KsiD2Mp/5/DZP9uBe4AfWwtbHdvYAOMktY+6ubqiXusFIM0+gXXm +FDBGmeCoT6aPJPqUWeLAal5US3fRkjQyr34SYTKrPBUhUvw1glUwtUIv9F8AMvjBOCc jk7Jeq3LYN5aHdhOxynQw2FaNgCPfSbvoj3YclSBVaT1lPrFj67/MelEvJHayJiF47dP XwJtZBZNS/BXUwp8hIMYkcLaZdiQEfNi07K7iCfR19uLBdi7DMJ8BOdgOPLkLoGYvkua Tlng==
X-Gm-Message-State: AOAM532nlrA7Ys/c3EYM0bWBxLA+9xdIcdLswY1Hp7TnhPHr2x8WbRXL U/F/Oa8SVBdE108QdQXZPBYk6w==
X-Google-Smtp-Source: ABdhPJzeUsqVcz48qCraNEpGE4xo7DnHlFjoUGj6yv7wHSumgFnQPkiXimHelk0kP1/1gUlJlLs0Kg==
X-Received: by 2002:a92:7304:: with SMTP id o4mr336957ilc.75.1629928770513; Wed, 25 Aug 2021 14:59:30 -0700 (PDT)
Received: from smtpclient.apple (dynamic-acs-24-154-121-237.zoominternet.net. [24.154.121.237]) by smtp.gmail.com with ESMTPSA id g12sm543988iok.32.2021.08.25.14.59.29 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Aug 2021 14:59:29 -0700 (PDT)
From: Brian Rosen <br@brianrosen.net>
Message-Id: <E786C213-10F3-46CF-97F1-393D54975692@brianrosen.net>
Content-Type: multipart/alternative; boundary="Apple-Mail=_4BCBB8BD-4B45-4846-8F02-323B5104CB4E"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\))
Date: Wed, 25 Aug 2021 17:59:28 -0400
In-Reply-To: <D08F3C9D-4A5E-43AB-BB02-4566634AAA56@randy.pensive.org>
Cc: "Caron, Guy" <g.caron@bell.ca>, ecrit@ietf.org
To: Randall Gellens <rg+ietf@randy.pensive.org>
References: <bb19d7c9f0c34c44b233b14ff8eee635@bell.ca> <CAOPrzE0Qg=ty_YbYdtX0JY3KupitQJ_TWMzq6BKjGYbejfs_3Q@mail.gmail.com> <7f40b92699324c7588a8baab528aab36@bell.ca> <AC2967E9-C677-4A0F-8BB8-74D96A2E12E4@brianrosen.net> <3664c600fa824230906807733dbff5ad@bell.ca> <83B4F74D-11D0-4AD5-AA6F-B6BFB2E852DB@brianrosen.net> <D08F3C9D-4A5E-43AB-BB02-4566634AAA56@randy.pensive.org>
X-Mailer: Apple Mail (2.3654.100.0.2.22)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ecrit/dHNHfyyQqjyXuzGEFXlbfzsiWD8>
Subject: Re: [Ecrit] lost-planned-changes-04: XML vs RelaxNG
X-BeenThere: ecrit@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Emergency Context Resolution with Internet Technologies <ecrit.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ecrit>, <mailto:ecrit-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ecrit/>
List-Post: <mailto:ecrit@ietf.org>
List-Help: <mailto:ecrit-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ecrit>, <mailto:ecrit-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Aug 2021 21:59:39 -0000

I agree.  I’m willing to work on LoST-Sync schemas but need help because my xml-fu is pretty weak.

Brian


> On Aug 25, 2021, at 5:51 PM, Randall Gellens <rg+ietf@randy.pensive.org> wrote:
> 
> If we go with your option:
> 
> So maybe we should normatively update 5222 to say that the RelaxNG is “replaced by” the xml schema for the purposes of defining new extensions, but the existing extension definitions in RelaxNG form are still valid.
> 
> We should probably try to also at least create an XML schema for LoST-Sync, since that's going to be increasingly needed for emergency services, at least in North America. How much would that delay the draft, or would we want to try and do it in its own document?
> 
> I'd like to hear from other group members. Especially from anyone who supports this approach and is willing to review the XML schemas.
> 
> 
> --Randall
> 
> On 24 Aug 2021, at 11:12, Brian Rosen wrote:
> 
> In general, I’d like to deprecate it, but I’m having second thoughts on the difficulty in doing so.
> 
> If we were to deprecate it, we would have to deal with existing extensions.  I see RFCs 6197, 6451 and 6739 have RelaxNG schemas that extend LoST.  I note that all 3 of these are Experimental.   So one argument is that if we deprecate the RelaxNG schema in 5222, we have to do that to these extensions, and provide xml schemas to replace them.  I will note that LoST Sync (6739) is going to be heavily deployed soon.  
> 
> So maybe we should normatively update 5222 to say that the RelaxNG is “replaced by” the xml schema for the purposes of defining new extensions, but the existing extension definitions in RelaxNG form are still valid.  If someone wanted to help make xml schema replacements for at least 6739, that would be useful.  If we did all 3, then we probably could deprecate the RelaxNG everywhere.  This draft would have to update those 3 RFCs as well as 5222.
> 
> If we don’t deprecate the RelaxNG, then there is always the standards issue of what if there is a discrepancy between the xml schema and the RelaxNG.  I think we would have to say that it’s the RelaxNG, and we would use the errata process to fix the xml schema.
> 
> The thing to keep in mind is that every implementor I know is using xml schemas, however they get them, to build their code. The practical answer is that everyone needs xml schemas and no one needs RelaxNG.
> 
> Brian
> 
> 
>> On Aug 24, 2021, at 1:48 PM, Caron, Guy <g.caron@bell.ca <mailto:g.caron@bell.ca>> wrote:
>> 
>> Thanks for pointing me to this email. My search somehow did not find this one.
>>  
>> Reading the comments, it seems to me that the commenter is not totally adverse to the idea of making a normative change towards the XML schema.
>>  
>> I’m not familiar enough with the process to determine if or how the RelaxNG version of the LoST schema can be deprecated. I can live with a normative XML version to which any further extensions (or updates) attach to and leave the initial RelaxNG schema becoming organically outdated and useless.
>>  
>> Thanks,
>>  
>> Guy
>>  
>> De : Brian Rosen <br@brianrosen.net <mailto:br@brianrosen.net>> 
>> Envoyé : 23 août 2021 17:12
>> À : Caron, Guy <g.caron@bell.ca <mailto:g.caron@bell.ca>>
>> Cc : ecrit@ietf.org <mailto:ecrit@ietf.org>
>> Objet : [EXT]Re: lost-planned-changes-04: XML vs RelaxNG
>>  
>> https://mailarchive.ietf.org/arch/msg/ecrit/oTPSzxsLp3YNy8J6HOwYjxdx1bI/ <https://mailarchive.ietf.org/arch/msg/ecrit/oTPSzxsLp3YNy8J6HOwYjxdx1bI/>
>>  
>> If we don’t deprecate the RelaxNG schema, shouldn’t extensions have to provide Relax NG?   That’s my setf serving reason to deprecate it.   I guess we could not actually deprecate it, but normatively update 5222 to say that extensions should reference the xml schema.
>>  
>> Brian
>>  
>>  
>> 
>> 
>> On Aug 23, 2021, at 4:59 PM, Caron, Guy <g.caron@bell.ca <mailto:g.caron@bell.ca>> wrote:
>>  
>> If you refer to general comments made in the early days of LoST, some 15 years ago, I guess time tells that RelaxNG did not ramp up as expected.
>>  
>> I can’t find comments on the ECRIT list specific to planned-changes asking for XML schemas to be informative while updating RFC5222.
>>  
>> I agree with your sentiment that XML schemas should be a normative alternative (i.e., does not deprecates) to RelaxNG.
>>  
>> Besides, by not providing RelaxNG equivalents for the extensions, isn’t that what you are doing anyway?
>>  
>> Thanks,
>>  
>> Guy
>>  
>> De : Brian Rosen <br@brianrosen.net <mailto:br@brianrosen.net>> 
>> Envoyé : 23 août 2021 16:37
>> À : Caron, Guy <g.caron@bell.ca <mailto:g.caron@bell.ca>>
>> Cc : ecrit@ietf.org <mailto:ecrit@ietf.org>
>> Objet : [EXT]Re: lost-planned-changes-04: XML vs RelaxNG
>>  
>> We have had comments suggesting it be non normative, which is why it says what it does now. 
>>  
>> My personal view is that it should replace the Relax NG schema, and any subsequent changes and extensions should only reference this one. No one that I know uses the Relax NG schema one way or another they get an xml schema and use that. 
>>  
>> But I will go with whatever the consensus is  
>>  
>> Brian
>>  
>> On Mon, Aug 23, 2021 at 4:32 PM Caron, Guy <g.caron@bell.ca <mailto:g.caron@bell.ca>> wrote:
>> In section 7, the replacement XML schema is qualified as an “informative alternative” however, the text in the Intro states “Alternative schemas have been circulated, which is undesirable, as they may not be in conformance to the RelaxNG schema in [RFC5222]. This document provides an XML schema that replaces the RelaxNG schema. It can be used by any implementation interchangeably with the RelaxNG schema.”
>>  
>> The latter seems to indicate that the XML schema in section 7 is a normative alternative rather than an informative one.
>>  
>> I think this is what we want but the text must be adjusted accordingly.
>>  
>> Thanks,
>>  
>> Guy
>> External Email: Please use caution when opening links and attachments / Courriel externe: Soyez prudent avec les liens et documents joints
>>  
>> External Email: Please use caution when opening links and attachments / Courriel externe: Soyez prudent avec les liens et documents joints
> 
> _______________________________________________
> Ecrit mailing list
> Ecrit@ietf.org
> https://www.ietf.org/mailman/listinfo/ecrit <https://www.ietf.org/mailman/listinfo/ecrit>