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

Brian Rosen <br@brianrosen.net> Mon, 18 September 2023 19:09 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 0384EC15107E for <ecrit@ietfa.amsl.com>; Mon, 18 Sep 2023 12:09:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.094
X-Spam-Level:
X-Spam-Status: No, score=-7.094 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_FONT_FACE_BAD=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_PERMERROR=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=brianrosen.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 jLiNcChGy-GT for <ecrit@ietfa.amsl.com>; Mon, 18 Sep 2023 12:09:18 -0700 (PDT)
Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 98386C14E513 for <ecrit@ietf.org>; Mon, 18 Sep 2023 12:09:18 -0700 (PDT)
Received: by mail-yb1-xb35.google.com with SMTP id 3f1490d57ef6-d5fdb29b7d3so1059337276.0 for <ecrit@ietf.org>; Mon, 18 Sep 2023 12:09:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brianrosen.net; s=google; t=1695064158; x=1695668958; darn=ietf.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=+tFBpWIrCRkgyaJVAxL0PCfJmYPqvoRBXa2tWy3zMqE=; b=Df0T+hpPtBZ4hNWhqaYsC5j408eYL0rkTWJLGg6RMiMajvR6/LHKcwIUptFxUV/nnE mujE7OjFn7x/z32Cp2fT7XqR+ckZ7rWVOaxW5mnIZ3guieDO7aByPg6bwX28QYw1p+w6 K4qXRU6gzV3alkbIU5rVva2/7NwCvKvPPbcvM=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695064158; x=1695668958; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+tFBpWIrCRkgyaJVAxL0PCfJmYPqvoRBXa2tWy3zMqE=; b=PJss7lKhIZBQdHusmYpvhxKPIv90x55QJhvW2RfuC6PnxgRxjgwLuSfsZY8ZWX+S5b JHTz6Frq32syrwn6tLlXdV/t12t81s3F2PUUeUaOLwsMWzp3QVzzu8DjwrDwVv76I9l/ MTWkkAqqZoVjvSSvPn2ruoNxJos/jQ1SwEJalmVJfgE1OG1WjjbhRA3G5pKf82xHkFeK LlxCZcyrK0lp8l5UBUyrSsRC6vv7ZpiBzUaFDfobpo+s2z/Gflq3mUw2ThnCAx3KluDl 7QWvznfY3oGlBoUReps08XElznRol+Ia/i5XOcWPXx8cUdPXTAdNUu8cg6MPryWXSnd1 CG3g==
X-Gm-Message-State: AOJu0Yynjl5SFzL0/HSzGAxEudMFLWLMe0JvsgMsflvvgQTOYLfd0YUO iAUuiJ0Ou68f/Zrt0NqZqYJUzCHOtl8lYV36oZ4=
X-Google-Smtp-Source: AGHT+IEoejGz9BQppxnNW/fZ2PtKBKZdjUqSWCRPzM8bju1S5FSxB+dMhT47e5X2XJKsY1r8s7ftXg==
X-Received: by 2002:a25:b214:0:b0:d4a:70d7:3f6b with SMTP id i20-20020a25b214000000b00d4a70d73f6bmr6774365ybj.6.1695064157547; Mon, 18 Sep 2023 12:09:17 -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 r7-20020a25ac47000000b00d217e46d25csm2454419ybd.4.2023.09.18.12.09.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Sep 2023 12:09:17 -0700 (PDT)
From: Brian Rosen <br@brianrosen.net>
Message-Id: <FF1134ED-648D-4749-9183-0DAA4CEB32A1@brianrosen.net>
Content-Type: multipart/alternative; boundary="Apple-Mail=_B4CD5B79-29F5-4D27-84C3-43B9CE39719F"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\))
Date: Mon, 18 Sep 2023 15:09:05 -0400
In-Reply-To: <BL3PR17MB616143444F59E8B15F4AF702A7F0A@BL3PR17MB6161.namprd17.prod.outlook.com>
Cc: "hannes.tschofenig@gmx.net" <hannes.tschofenig@gmx.net>, ECRIT <ecrit@ietf.org>
To: Dan Banks <dbanks=40ddti.net@dmarc.ietf.org>
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>
X-Mailer: Apple Mail (2.3731.700.6)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ecrit/1goF97ElMTEsIpli4oQ9L18tyWM>
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: Mon, 18 Sep 2023 19:09:23 -0000

I apologize, I was unaware you were using the RelaxNG schema, and must have misunderstood what you told me some time ago.  I still maintain it’s very difficulty for the implementors to use and all the others I have talked to about this really wanted an XML schema.

Inline for more

> On Sep 13, 2023, at 6:21 PM, Dan Banks <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.

>  
> 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?

>  
> I also believe that while point-in-time validation by a LoST server could be theoretically useful, in practice it would introduce substantial complication (to the GIS, the LoST server, and the LIS) while providing very little benefit.  It has been my experience that the quality and completeness of the underlying GIS data NOW is a far greater concern than the possibility (or even inevitability) that some portion will become invalid at a known time in the future.  For these reasons, I have not expressed support for this draft.
Noted.  Others have found it to be valuable
>  
> At this point, it is my preference that this draft be allowed to expire and that the complete and similar location draft be updated to remove all references to planned changes and be moved forward on its own.  However, I have done a limited review of the -09 version and if it continues to be worked on, there are several issues that I see:
>  
> 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.
>  
> 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?
>  
> 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. 
>  
> 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.

>  
> Section 5 also makes reference to “coordinate changes”, and this is problematic given that validation only pertains to civic location.  And presumably, the exemplar use case of annexation would not involve any coordinate changes.  Nor would coordinate changes of a GIS feature by themselves necessarily impact the validation portion of the response.  This line should say something else.
Haha, I meant bring things into a alignment with each other, not geospatial lat/lon.  I will change to “synchronize changes"
>  
> 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.

>  
> Section 9 includes text related to the server sending an HTTP request back to the client, which is functionality that is no longer included in the draft.  This affects a substantial portion of section 9.
Yeah, I will have to rewrite that

>  
> Finally, the introduction refers to RFC 4119.  It would be more appropriate to refer to RFC 5139.
Will do


>  
> Dan Banks
>  
>  
> From: Ecrit <ecrit-bounces@ietf.org> On Behalf Of Brian Rosen
> Sent: Friday, September 8, 2023 1:12 PM
> To: hannes.tschofenig@gmx.net
> Cc: ECRIT <ecrit@ietf.org>
> Subject: Re: [Ecrit] Does anyone support Planned-Changed?
>  
> I will expand LIS, and change entry points to end points.  I’ll add the reference to Section 8.  
>  
> WRT to the XML schema:  we now have quite a bit of deployment experience with LoST.  No one (and I mean NO ONE) uses the RelaxNG schema.  They use an xml schema, normally one that NENA created because no one in NENA had ever used RelaxNG.
> I based the schema in the draft on the NENA schema.
>  
> I would be very happy to obsolete the RelaxNG schema and replace it with the XML Schema.  That would avoid the necessity to maintain both in future extensions.  That would mean that this draft updates a few other RFCs that have LoST RelaxNG schemas.
>  
> We did have discussions long ago about where to make the change to XML Schemas, and this was the draft we decided to do it in.  I would not want to split the draft at this point.
>  
> I did engage an expert (Peter Saint Andre)  to verify that the XML Schema matched the RelaxNG schema.  He helped me fix several errors I made.  I’m pretty confident they are the same, but there is no tool that could validate it.
>  
> Brian
> 
> 
> On Sep 8, 2023, at 10:24 AM, hannes.tschofenig@gmx.net <mailto:hannes.tschofenig@gmx.net> wrote:
>  
> Resending
>  
> From: hannes.tschofenig@gmx.net <mailto:hannes.tschofenig@gmx.net> <hannes.tschofenig@gmx.net <mailto:hannes.tschofenig@gmx.net>> 
> Sent: Freitag, 8. September 2023 14:55
> To: 'Randall Gellens' <rg+ietf@randy.pensive.org <mailto:rg+ietf@randy.pensive.org>>; 'ECRIT' <ecrit@ietf.org <mailto:ecrit@ietf.org>>
> Subject: RE: [Ecrit] Does anyone support Planned-Changed?
>  
> Hi Randy,
>  
> I have read the document and I believe it is a useful and important extension. 
>  
> Here are my high-level comments. 
>  
> 1. On the editorial side, please expand LIS when first used.
>  
> 2. Section 3 talks about "entry points" in context of the new RESTful APIs. The correct terminolgy would, however, be "endpoints". The description of the API in that section is incomplete. A reference to section 8 would be appropriate, which uses the OpenAPI functionality (which I am not familiar with).
>  
> 3. The more substantive comment concerns the introduction of the XML schema for LoST. Since the title does not indicate the presence of this description in the document it is a bit surprising. I was wondering why you didn't just produce a new draft that contains the XML schema where the title clearly indicates it. 
>  
> There is one annoying consequence: if you introduce two schema languages for LoST, namely RelaxNG and the XML schema, then every extension going forward should actually specify the extension in both schema languages to deal with the installed base. 
>  
> FWIW I have not checked the XML schema against the Relax NG schema and validated the examples against this new schema. I hope Brian did it. It would be unfortunate if the newly proposed XML schema is not in sync with the previously published functionalty or even buggy.
>  
> Ciao
> Hannes
>  
>  
>  
> From: Ecrit <ecrit-bounces@ietf.org <mailto:ecrit-bounces@ietf.org>> On Behalf Of Randall Gellens
> Sent: Mittwoch, 30. August 2023 18:39
> To: ECRIT <ecrit@ietf.org <mailto:ecrit@ietf.org>>
> Subject: [Ecrit] Does anyone support Planned-Changed?
>  
> Members of IETF ECRIT WG:
> The two-week IETF WG Last Call on the Planned Changes drat closes TODAY. Supposedly, this is a document that NENA i3 needs and has been waiting on.
> To date the IETF ECRIT mailing list has received exactly ZERO comments on the draft during this WG last call. The logical conclusion is that no one cares about the draft and it should die. Is that accurate? Or is it just that everyone is still on August break/doldrums? I need to know.
> The IETF datatracker status page for this Internet-Draft is:
> https://datatracker.ietf.org/doc/draft-ietf-ecrit-lost-planned-changes/
> There is also an HTML version available at:
> https://www.ietf.org/archive/id/draft-ietf-ecrit-lost-planned-changes-08.html
> A diff from the previous version is available at:
> https://author-tools.ietf.org/iddiff?url2=draft-ietf-ecrit-lost-planned-changes-08
> --Randall
> _______________________________________________
> Ecrit mailing list
> Ecrit@ietf.org <mailto:Ecrit@ietf.org>
> https://www.ietf.org/mailman/listinfo/ecrit