Re: [apps-discuss] An XML RFC primer?

Tim Bray <tbray@textuality.com> Tue, 11 January 2011 19:44 UTC

Return-Path: <tbray@textuality.com>
X-Original-To: apps-discuss@core3.amsl.com
Delivered-To: apps-discuss@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 960433A6A90 for <apps-discuss@core3.amsl.com>; Tue, 11 Jan 2011 11:44:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.655
X-Spam-Level:
X-Spam-Status: No, score=-2.655 tagged_above=-999 required=5 tests=[AWL=-0.278, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, J_CHICKENPOX_15=0.6, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pOqJmC-UEAmP for <apps-discuss@core3.amsl.com>; Tue, 11 Jan 2011 11:44:14 -0800 (PST)
Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by core3.amsl.com (Postfix) with ESMTP id 935D33A69C5 for <apps-discuss@ietf.org>; Tue, 11 Jan 2011 11:44:14 -0800 (PST)
Received: by fxm9 with SMTP id 9so20698766fxm.31 for <apps-discuss@ietf.org>; Tue, 11 Jan 2011 11:46:31 -0800 (PST)
MIME-Version: 1.0
Received: by 10.223.74.143 with SMTP id u15mr45959faj.27.1294775191378; Tue, 11 Jan 2011 11:46:31 -0800 (PST)
Received: by 10.223.126.212 with HTTP; Tue, 11 Jan 2011 11:46:31 -0800 (PST)
X-Originating-IP: [216.239.45.130]
In-Reply-To: <01dd01cbb1b2$35775860$4001a8c0@gateway.2wire.net>
References: <F5833273385BB34F99288B3648C4F06F1341E73D79@EXCH-C2.corp.cloudmark.com> <01dd01cbb1b2$35775860$4001a8c0@gateway.2wire.net>
Date: Tue, 11 Jan 2011 11:46:31 -0800
Message-ID: <AANLkTinWa2N-mu5nwq=q7Dg0oVL76zYqWzEdxHFy0Zpc@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: "t.petch" <ietfc@btconnect.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: apps-discuss@ietf.org
Subject: Re: [apps-discuss] An XML RFC primer?
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Jan 2011 19:44:15 -0000

On Tue, Jan 11, 2011 at 9:08 AM, t.petch <ietfc@btconnect.com> wrote:

>  - impossibility of validating documents with XSD (possible with DSDL).

The general lousiness of XSD is now well-known.  Atom was very happy
with RNG, but ymmv.

> Netconf did take advice from the XML Directorate, and they were plain wrong, in
> one key regard, which has turned out to be an issue that has taken years so far,
> and as yet is unresolved (the question they failed to answer correctly was what
> is and is not valid XML? the consequence is an inability to parse XML documents
> transported by Netconf as currently specified).

Huh?  Formally, "valid" means "has a DTD and conforms to it" but
almost nobody uses DTDs any more.  Whether something is or is not XML
is not in any doubt either de jure or de facto, we have good
interoperability among parsers these days.  If Netconf XML can't be
parsed, the specification must have some awful problems.

I've certainly seen some lousy XML-based protocols here and there, but
this the first instance of "inability to parse" I've run across.

 -Tim