Re: [netmod] ?==?utf-8?q? JSON to XML lossy conversion

Michal Vaško <mvasko@cesnet.cz> Fri, 17 July 2020 06:28 UTC

Return-Path: <mvasko@cesnet.cz>
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 C93143A12D2 for <netmod@ietfa.amsl.com>; Thu, 16 Jul 2020 23:28:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.319
X-Spam-Level:
X-Spam-Status: No, score=-1.319 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, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cesnet.cz
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 VvMCNwhl-m6v for <netmod@ietfa.amsl.com>; Thu, 16 Jul 2020 23:28:40 -0700 (PDT)
Received: from kalendar.cesnet.cz (kalendar.cesnet.cz [78.128.211.34]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 985C63A12D1 for <netmod@ietf.org>; Thu, 16 Jul 2020 23:28:38 -0700 (PDT)
Received: by kalendar.cesnet.cz (Postfix, from userid 999) id 88A1E60174; Fri, 17 Jul 2020 08:28:35 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cesnet.cz; s=kalendar; t=1594967315; bh=v6qpUXmx8bQPjR5rKKGfdFmkSaoxtCludbkD5cuw5Ek=; h=In-Reply-To:From:Date:Cc:To:Subject; b=dMhgxfnM0bZoVqdO2ZVYJC2i+HchYgtmwNiSuRZMFw3TO5z5gFUbRddK1+TBtrVJw mRrYZCYeJ6z7ftyI1oDvDl5OU+F+QDJScz+2TVN5I3D5hrIEqiZfkLvao9PzDtys6O eb9+Pca+DpXCGJptrF8NylW09Veyeeb77H7EpR/c=
Content-Type: text/plain; charset="utf-8"
In-Reply-To: <20200716155522.6sec4q7riy2hxqfj@anna.jacobs.jacobs-university.de>
From: Michal Vaško <mvasko@cesnet.cz>
X-Forward: 2001:67c:1220:80c:b5:55d3:81d5:8636
Date: Fri, 17 Jul 2020 08:28:35 +0200
Cc: netmod <netmod@ietf.org>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
MIME-Version: 1.0
Message-ID: <4472-5f114500-29-46c1b700@210905002>
User-Agent: SOGoMail 2.3.23
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/CJcOAYoKRWHcpnQURG05zxuRiRs>
Subject: Re: [netmod] ?==?utf-8?q? JSON to XML lossy conversion
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: Fri, 17 Jul 2020 06:28:44 -0000

Thanks for the answers and sorry for not searching the mailing list archive first.

However, I interpret your answers as "we know about it, it is not ideal, but it will stay the way it is". I was hoping for something better.

Regards,
Michal

On Thursday, July 16, 2020 17:55 CEST, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> wrote: 
 
> On Thu, Jul 16, 2020 at 04:24:43PM +0200, Michal Vaško wrote:
> > 
> > Similar problem occurs also for boolean. So I am just wondering, is this a known bug/feature, is it intentional? It is true that applications usually choose one format and stick to it but it is not a requirement and I can see this having possibly quite nasty consequences.
> >
> 
> This is known and has already be known when the JSON format was
> standardized. Whether it is a feature or a bug (and if so where
> the bug is) depends on whom you talk to.
> 
> /js
> 
> -- 
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>