Re: [Ecrit] Does anyone support Planned-Changed?

Dan Banks <dbanks@ddti.net> Wed, 27 September 2023 17:36 UTC

Return-Path: <dbanks@ddti.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 297B6C15257C for <ecrit@ietfa.amsl.com>; Wed, 27 Sep 2023 10:36:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.108
X-Spam-Level:
X-Spam-Status: No, score=-7.108 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ddti.net
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Kp_vj8cFqEP4 for <ecrit@ietfa.amsl.com>; Wed, 27 Sep 2023 10:35:56 -0700 (PDT)
Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2085.outbound.protection.outlook.com [40.107.93.85]) (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 77DE3C15199D for <ecrit@ietf.org>; Wed, 27 Sep 2023 10:35:56 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QzhZAKxqC+HG/MTukCnHkRf+ACLE/4RB8kCTJ1MRb547F373a78ZJyQS3HfYRQWtf1PrTeyJ5byWpOnPal2zIh8rbah8SSOBcG6Qie2CXwvm9WpnSNfHfAXZfVmNxGWw/zq3FyLjoYECkrVQ1DfF13MTyQ10i76A8IvsWrSCl3xGC172Rk4dR27RLRe1gltuZz5LMktnPDiCtbGAy+UW+CcmbJVhBJ9ILdPW3LUk23iVDUuRVINxzJnaHcm+3WeHB9QANl7PQINSy47EGFJ3XuHvZLoEPtU1Jw3HhoXNktS7BX7slfkbyvd23plDhoOCldY1GtlTYq0Iw46IJDGunw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=H/U3fzNDRLrTVDUVccCBLNkOcvyL93/3YVaqk8Mgstg=; b=O1iEIR881uGyjFW2xU4IuYoQjSyIaZp8AdKQouO8xcaxey9iVXMI1KmcG1RCZBpcQRLowm3SoNgVSxheSVZ5s1rD8ayg8A2zsLFHWVbe8LM2SZhNODwnq0U4H2UnVOyJclRiMgJDo7r9w4h55OW+F9yG15YJ47S1PfSDQKRb79yHCPo7E7p7KppL2fIzYU+WWo1rtNMrrefWk/nXHBayQA64yAPM3wJfdW77SBZi7WHPiupPoTp4nbprGbvjgWhw/x+MFVlwbCxOm8k1M8w0eBxnsiufzCO7kyO/9B/dbyRglGRJNFzEo/+zEQnoOuEgvrkgfpBdfJBNZm5Jv/6JOA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ddti.net; dmarc=pass action=none header.from=ddti.net; dkim=pass header.d=ddti.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ddti.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=H/U3fzNDRLrTVDUVccCBLNkOcvyL93/3YVaqk8Mgstg=; b=oRat5SL5p8lOkVKIck03kbLThF0d6omTqcP0e5XIMGQLbinMdOMFAztBLXflRxHeCkah3xQsbyTvNRfkLC4zj3SY2uswO9SRSrb8DSCP+zDq/KZfJgHaWBMiLEYh1v0r7bwORywcq92jdPnlZYOSoxdIg0oRiBKIUFnff2Q/4tc=
Received: from DS0PR17MB6174.namprd17.prod.outlook.com (2603:10b6:8:c1::7) by PH8PR17MB6886.namprd17.prod.outlook.com (2603:10b6:510:255::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.21; Wed, 27 Sep 2023 17:35:52 +0000
Received: from DS0PR17MB6174.namprd17.prod.outlook.com ([fe80::7f67:b04d:54b7:72b]) by DS0PR17MB6174.namprd17.prod.outlook.com ([fe80::7f67:b04d:54b7:72b%5]) with mapi id 15.20.6792.026; Wed, 27 Sep 2023 17:35:52 +0000
From: Dan Banks <dbanks@ddti.net>
To: Brian Rosen <br=40brianrosen.net@dmarc.ietf.org>, Dan Banks <dbanks=40ddti.net@dmarc.ietf.org>
CC: ECRIT <ecrit@ietf.org>
Thread-Topic: [Ecrit] Does anyone support Planned-Changed?
Thread-Index: AQHZ4necrzO21pzatki7mHNMnUxPcLAZMFyggAfR44CADe/dQA==
Date: Wed, 27 Sep 2023 17:35:52 +0000
Message-ID: <DS0PR17MB61747E7E156E06265F9A8FDAA7C2A@DS0PR17MB6174.namprd17.prod.outlook.com>
References: <169219476007.7384.18270557568145715058@ietfa.amsl.com> <8ED387FA-8A0B-4BA4-A96B-787697400C5D@randy.pensive.org> <03e001d9e260$39e27320$ada75960$@gmx.net> <DC7D1C4A-1867-49B8-A18A-DB04A84EAD01@brianrosen.net> <BL3PR17MB616143444F59E8B15F4AF702A7F0A@BL3PR17MB6161.namprd17.prod.outlook.com> <FF1134ED-648D-4749-9183-0DAA4CEB32A1@brianrosen.net>
In-Reply-To: <FF1134ED-648D-4749-9183-0DAA4CEB32A1@brianrosen.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ddti.net;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: DS0PR17MB6174:EE_|PH8PR17MB6886:EE_
x-ms-office365-filtering-correlation-id: b61e5e67-2bc2-4876-08d9-08dbbf80324e
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: fIFoQ/+n4Jv1GVBW5maGoGW+OFqF3Scph7s2epV65a9kSzOdot2/FJsY9G+rKJ7R2mUHaZFu02d5qZM3kjMT8sCpEYxrNpWqqsF7w7X4On1yw9yM36PtjTHA+neknJI2juBgeHMB9mvLpYm/J//H0Xgp7BUYTBH78/qoFIrLU5+nUxVUgUNctPNR7fJ6Pe8sEtZhOhAThno2ehOE1Jr8wmGd9/Kfm5x/mPV0t2n62hQYeFE81KM/0IaW/zBRH95+PLOkEth+1p6Zu1mH0/4sNz35s1klmxQSJSen2rwLRrw+u7JtdQuE5FCwXm2tRNAu718UryiFv8j458klZo8EK33v82D6bEEBOqavlmXFN4G33ZWC3HYIbvg9pYugclowN4mDExeb6fdyxPqG4jzaNXKpntb1xgHU9Hm7cCj6yMJsDzdih8iT7Y3AASRfq9KZJgAzUI0ZLKIwSZx55/7B34DjJx2Lw4KF1SEh/+6ih1YJ8YRfiTZqPZO6EGjPmx3mCMNc9H+M9q0wgI7llH0DUBWInMoLkToihy9y7eau0gO+AuuaUWY6aW1HctETAakdgPik4ritEWcwcQqjj7n0FEBmEEjrAokeQBrErk2jlxN3FzC20sp62R0AUlnOD8HT
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR17MB6174.namprd17.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(39840400004)(346002)(376002)(366004)(136003)(230922051799003)(451199024)(186009)(1800799009)(2906002)(86362001)(53546011)(478600001)(6506007)(7696005)(71200400001)(38070700005)(83380400001)(9686003)(26005)(41300700001)(64756008)(316002)(76116006)(5660300002)(66476007)(66946007)(110136005)(66446008)(52536014)(8936002)(66556008)(4326008)(8676002)(33656002)(38100700002)(122000001)(55016003); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: DT5Jsyz/zHfIc6WMzGfdhL5Fgl5zWnhV37Roe+iUcQdhgQMzm25RxtCZXoL+P/XVIZNBxTSopl5X9FYp7FSag7nL7IWmu2KAYyXE1Qoc6A/rd1ICGv0CwdxvCV8/RrSfLChdLjdkdCHAphpO0KFE+J3fAsOmFbzRA9xDd+Jyqe69WuNt97YFE+xpv2pyK3Z+jEJbfCFxodkrFffx6DM2rsbNk9j7N2hRvA4VeZT7xO94/cofSppkqIUgTqkmTBZJNaWpopDYLNaJemJA1C9QkzonJR3FKchA6nSkpV8tJwNfLddGKZy0qp3Zr6/ZnbnOhdnPYDbcexW+b+YiBLVZeUXP7znE8Ni5tbG72BmFwWN6zHBUv2pjH1MFXI2SUANfqv8XAGTqEhn+wUnDlPRrsNZElwIVg66GfM5wN0xYC8GTBZvs2348eqw7v+3eQvl209VNFUDmgv66IH9+Wp24AOlmqUupLbUpIPE4zamtxYojdjAKMnOHzEG2FHyu2zSE1EvCf/Wz4T+t4zUuos3il3N+L+QA5dsqCPAXxMfjK4k0iqeO9NsF5RL5peEH/ucclwllhaX/qCyT1IwUWTuZLbdp82i35fdWVhcmHn1jmexMAe+Epo8EkG4ijBrzHYS79RKZ0J3PJ5zTyH3ya6GvF772CZQ7ZaedhPS8MwjZiaAptD2F8YHckHslA0L5/kzqrUhjVPm4oyCt/AMRn8F8SDkAVvFA3oKRxvGAEL8p0Hu9NbFHMGxOzE35U5fZlybcZBY5ulmxKsUKmQv1/Ud2vDLnOZsQZ+lh+HFW9QcKreaRccmuymwEac17GGnzlrGxWYlC5TJ3Kz0h4Rd/VStl4xkysTpjPVMxvhgZTbOHVVbJqf4VAv9GaPcLrYQqkwU7pL/jry5E/HOiDorVDsK2nhqj6vm5Ma1nz2bT8/CATVYwE2i+/vdMNTW+F+arQBCTIAjPgLQhbmWR4P/LeBp04GkE8FgOMQZ4ce6BlqLfTXBv680TLWjkPbPakAbaKTuo9oHFDijoDiVETSsmOGNLz89SC6C7vP+RXrSrlG4F/7RovNr0OBj3jyxA4OVQt+dyE0bv2vrdpMYa1fXEklb22nzIAX4DLeVQ8GlbgN41Bm+VO5gbeSrO+PXxhD/mY8dAUuRXzRmC0NGPDO9+bxqnJEvtcd6BDAMkuNGUhDYBzHbYuIzbzoXaz0oX8Vm3aMBq5wBnMwgpbgHHVLN9ir9LZLHINqK7HjV+3FBLM7ZkvOsTgiy6wDjh5zgHmMjMBXRDDmPBND1zaePeUtAO+vecbRuoeY0dzedeTzjwVhkw4Yg8+4lGiG5yPaghcg0Xc9XIivJS2oIvIP3Y/siwqVkQyePuYFI7IQKApOIcLWjYiB87tbUqYXX0CoC8UAy1hgs5hGEioosBDvFJLF59MzbLa8DbWRtvsFDly1d7C6DdwFju6Ot1LqThzzkfsCzf+zBcLTEW268HXaAnOBcJFa4+MOZWoavmVk1Z9o8xMR2usD7sg4XxcmpkoqQ69rmFGw4yVMDQA4LTSuA5r10cQ8xq4KjcEwGTHhfiEFc33BVL3jo=
Content-Type: multipart/alternative; boundary="_000_DS0PR17MB61747E7E156E06265F9A8FDAA7C2ADS0PR17MB6174namp_"
MIME-Version: 1.0
X-OriginatorOrg: ddti.net
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DS0PR17MB6174.namprd17.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b61e5e67-2bc2-4876-08d9-08dbbf80324e
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Sep 2023 17:35:52.3281 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4c0f48ba-5f29-44b1-b29c-1aff8251101b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: s32MumGfq0UXoauj50EqK/ZcJiFJk/E8OSKg8JIIWmYynFCVxlG9gVoNAkq2jHh/
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR17MB6886
Archived-At: <https://mailarchive.ietf.org/arch/msg/ecrit/nw88U-L8PI0luGH2I2-mRGLdvEQ>
Subject: Re: [Ecrit] Does anyone support Planned-Changed?
X-BeenThere: ecrit@ietf.org
X-Mailman-Version: 2.1.39
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, 27 Sep 2023 17:36:02 -0000

Comments inline (some snipping, also) below :

On Sep 13, 2023, at 6:21 PM, Dan Banks <dbanks=40ddti.net@dmarc.ietf.org<mailto:dbanks=40ddti.net@dmarc.ietf.org>> wrote:

Well, I have been using the RelaxNG schema since the beginning of my involvement with LoST, and pretty much exclusively so.  I even used RelaxNG to define the extensions that I contributed to NENA years ago.  So I must dispute the notion that no one uses it.

I do not agree that extensions need to be maintained in the same schema language (or in multiple languages), and I'll point out that the location used in every findService request is included by way of an extension point and both civic and geodetic location schemas are defined by traditional XML schemas (RFC 5139 for civic, OGC 06-142r1 for geodetic) rather than RelaxNG.
So, ignoring your reservations on the whole thing, if instead of:
Future extensions to LoST are expected to use this schema as the base for the extensions, rather than the Relax NG schema
Would you be okay with:
It is RECOMMENDED that future extensions be specified with XML schemas using this schema as the base, but MAY specify a RelaxNG schema using the original in RFC5222 as the base.

Well, not all extensions incorporate the LoST schema itself.  I think maybe something like: "It is RECOMMENDED that future extensions be specified using XML schemas rather than RelaxNG, and MAY incorporate either this schema or the RFC 5222 version by reference as needed."

As I have expressed previously, I prefer that we NOT make the new xsd for LoST normative and that we avoid calling it a replacement.  I believe it should only be a non-normative alternative like we find in Appendix A of RFC 5222.
I don't think we say "normative".  If I change the section title to "Alternative XML Schema" would that be acceptable?

Yes, I think changing the titles in section 6 and section 10 would fix this issue (along with the text changes discussed above).


The exceptionContainer defined on page 12 does not include the <SRSinvalid> element as a choice, but it should.
I note that this is also true of the RelaxNG schema in 5222.  I have added it anyway.


Right, this is noted as a verified erratum in 5222, so I believe this is the correct thing to do.


There is a group and an attributeGroup both named "anyElement" that are defined but unused.  It is unclear if these were intended to be used to define extension points.  I believe the original LoST schema intended to allow attributes of any namespace at every extension point, and I think the xsd needs an attributeGroup at every occurrence of the extension point to accomplish that.  However, it is not clear to me if the original definition in compact form correctly expresses this.  Note that the non-normative version in 5222 Appendix A does seem to include attributes of any name at the extension point.
If I just add the attributeGroup at every instance of the ExtensionPoint, does that fix it?

Looking at this again, no, I think it is going to be more complicated than that.  At the very least, there is additional cleanup needed.  The attributeGroup name needs to not be "anyElement" as that's confusing.  In some places, following the extensionPoint group with a corresponding attributeGroup would work, I think.  But in other places, like the commonRequestPattern, the extensionPoint group appears in a sequence.  That's fine, except I do not believe you can put an attributeGroup into a sequence.  So in that case, everywhere the commonRequestPattern is used (and commonResponsePattern) you'd need to work your way back up to the complexType that contains it and put the attributeGroup there.  Also, the "notLost" group appears to allow elements in the local namespace, when I believe the intent of the original schema was to exclude the local namespace.  I believe this is reflected in the RFC 5222 appendix A version of the schema, but the compact (normative) form looks like it has a typo: notLost = element * - (ns1:* | ns1:*) { anyElement }.  That alternative is nonsensical, and I believe it should have been (ns1:* | local:*).  So this all presents a bit of a dilemma.

The easiest thing to do might be to just explicitly write an xs:any and xs:anyAttribute in every complexType where we want an extension point, which is closer to what we see in RFC 5985's HELD schema.  Either way, we probably could use additional eyes on this issue in particular.


Section 5 identifies the new expires element with single quotes, and says it takes the form of the 'expires' attribute pattern from 5222 (includes tokens) but the schema includes type="xs:dateTime".  This doesn't work with ref, but the ref doesn't work because expires doesn't exist in the target namespace.  asOf is broken similarly.
Okay, but my lack of XML expertise is showing here.  How do I fix this (make a reference to the expires definition?  AsOf doesn't need No-Expiration, so it can use dateTime.


Actually, the "expires" in the 5222 schema is an attributeGroup, so I don't think you can reference that as the definition for an element.  You will need to redefine it (which I think you should do anyway), or use an attribute instead.  If you do want to reference something, then you can't also declare a type.  For "asOf", I believe you want a name="asOf", not a ref.


Further, the expiration pertains most specifically to the validation portion of the response.  I believe it would be less confusing to declare an attribute of a different name (such as 'validUntil') and place this directly into the <locationValidation> element rather than the <findServiceResponse>.
I do understand but would prefer to leave it as it is.  I can make this change if others think it's really better.


The draft defines a new interface to poll for changes, but provides no new mechanism for discovery.  Presumably this would work by modifying the URI discovered via U-NAPTR in some way, but first, this is not explained.  Second, I am strongly opposed to mixing XML with a Rest/JSON interface at the same endpoint (even with a different http route).  Third, I do not believe that a service to provide a list of changes should be implemented within the same piece of software as a LoST server, although that is clearly an implementation decision.  However, lack of independent discovery of such a service would effectively require the use of a reverse proxy or similar mechanism in order to allow separate implementations.  Instead, if such a service is to exist, it should be independently discoverable using U-NAPTR using the name (application unique string) of the LoST server that provided validation as input along with a new service tag.  Then implementers can build the services however they wish.
The problem with "use the name of the LoST server that provided validation as input along with a new service tag is that 5222 expressly says "Note that the HTTP URL can be any valid HTTP URL, including those containing path elements."  I'm inclined to just say that the path determined in LoST UNAPTR resolution replaces "localhost" in the OpenAPI definition.

I don't understand the argument here.  Using U-NAPTR with the LoST server's app string but a new service tag is entirely independent of the usage in 5222 and gives *exactly* what you would need to find the interface in question - no guesswork and no limitations.

Dan Banks