Re: [weirds] feedback on draft-designteam-weirds-using-http

Julian Reschke <julian.reschke@gmx.de> Thu, 17 May 2012 20:07 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: weirds@ietfa.amsl.com
Delivered-To: weirds@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 062FA21F85D5 for <weirds@ietfa.amsl.com>; Thu, 17 May 2012 13:07:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.578
X-Spam-Level:
X-Spam-Status: No, score=-102.578 tagged_above=-999 required=5 tests=[AWL=0.021, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XhKKh-JFdOAA for <weirds@ietfa.amsl.com>; Thu, 17 May 2012 13:07:55 -0700 (PDT)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by ietfa.amsl.com (Postfix) with SMTP id AFF1D21F85CF for <weirds@ietf.org>; Thu, 17 May 2012 13:07:54 -0700 (PDT)
Received: (qmail invoked by alias); 17 May 2012 20:07:53 -0000
Received: from p54BB26EE.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.38.238] by mail.gmx.net (mp034) with SMTP; 17 May 2012 22:07:53 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX196QYJSDJJ67eoPlde05OSh5nMy//YzolABmIOjss TSDASEFAFFAq4t
Message-ID: <4FB55A7A.5000906@gmx.de>
Date: Thu, 17 May 2012 22:07:22 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: Andy Newton <andy@hxr.us>
References: <4FB26082.3070800@gmx.de> <9B94D739-E037-4539-82E8-0E79BBFEC543@hxr.us> <4FB520B4.1070803@gmx.de> <A58EF70A-BBAA-4DA5-A951-C1F16356F741@hxr.us> <4FB5537A.9060208@gmx.de> <6619ABEF-507F-4D72-88C4-423185E78463@hxr.us>
In-Reply-To: <6619ABEF-507F-4D72-88C4-423185E78463@hxr.us>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Cc: weirds@ietf.org
Subject: Re: [weirds] feedback on draft-designteam-weirds-using-http
X-BeenThere: weirds@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "WHOIS-based Extensible Internet Registration Data Service \(WEIRDS\)" <weirds.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/weirds>, <mailto:weirds-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/weirds>
List-Post: <mailto:weirds@ietf.org>
List-Help: <mailto:weirds-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/weirds>, <mailto:weirds-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 May 2012 20:07:56 -0000

On 2012-05-17 22:02, Andy Newton wrote:
>
> On May 17, 2012, at 3:37 PM, Julian Reschke wrote:
>
>> On 2012-05-17 20:54, Andy Newton wrote:
>>> ...
>>>>> Ah yes, the escaping needs to be changed from JSON to XML.
>>>>
>>>> There's still a set of characters that won't be usable in XML (yes, not even escaped).
>>>
>>> That would be&,<, and>. So I guess we should mention those are to be escaped as well. Gosh XML is overly complex.
>>> ...
>>
>> No :-).
>>
>> JSON allows all C0 control characters. XML only allows TAB, CR, and LF. You can't represent the others in plain XML (you can always invent *another* escaping syntax on top of XML, though).
>
> Reading section 2.5 of RFC 4627, it says x00 - x1F (the C0 set from what I understand) must be escaped.
> The XML would have to be XML 1.1, not XML 1.0. Is that what you are getting at?

Right, it might work with XML 1.1, but nobody is using XML 1.1. It's 
dead for all practical purposes. Don't go near it.

Best regards, Julian