From owner-freebsd-arch@FreeBSD.ORG Tue Jul 29 05:57:24 2014 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B1AD9F8 for ; Tue, 29 Jul 2014 05:57:24 +0000 (UTC) Received: from mail-qa0-x235.google.com (mail-qa0-x235.google.com [IPv6:2607:f8b0:400d:c00::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6FFE128DD for ; Tue, 29 Jul 2014 05:57:24 +0000 (UTC) Received: by mail-qa0-f53.google.com with SMTP id v10so9019228qac.12 for ; Mon, 28 Jul 2014 22:57:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=tyocR1CnG4YUY1Z/RvX0pDDni4bI93vBb5El1yGxrOk=; b=x7YwZhDTfP36eb3EZ1hBxBL8EoPL61RBHBZPX3hDX05Fc/0/XnLjR2KfxVWzsCgSBe 3q1trQo/SA6U2ePHYF9AMhnVxfFw1dtNNdc7C0vMhkKTV9iVyy/3XF5dtIhLyPy87bM0 at2Gowj24tILKxOxnp3Hd6HGiLvrCjM7nUdYYh/bafJhefZFo7WP7fdC8bVPZyOf5e2R XSRXZUNya967yI7u2kTT6D0Na++ZNnWqycWeCrDOngO32EYyrZGzoI7imdnxHLjfIPNl vACR8o/ikZm1eFb6tlHbuHcDt7DL7Kf5iCkL+lZq5q1oDY35YTY6JY//mpcvZXZvjzZQ zVAQ== MIME-Version: 1.0 X-Received: by 10.224.55.131 with SMTP id u3mr66772744qag.98.1406613443615; Mon, 28 Jul 2014 22:57:23 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.1.6 with HTTP; Mon, 28 Jul 2014 22:57:23 -0700 (PDT) In-Reply-To: References: <20140725044921.9F0D3580A2@chaos.jnpr.net> <20140728054217.AC1A0580A2@chaos.jnpr.net> <20140728055336.GJ50802@ivaldir.etoilebsd.net> Date: Mon, 28 Jul 2014 22:57:23 -0700 X-Google-Sender-Auth: Lc59y-T8c95JZr1mNNAhzlGtVx8 Message-ID: Subject: Re: XML Output: libxo - provide single API to output TXT, XML, JSON and HTML From: Adrian Chadd To: Jos Backus Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-arch@freebsd.org" , Jordan Hubbard X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jul 2014 05:57:24 -0000 Holy ... ! What really matter is whether the library API that you're going to shoehorn into plenty of utilities is expressive enough to express a whole bunch of different output types. So it doesn't matter if you want JSON, or YAML, or XML, or the native tool output. The trick is whether the library API is good enough. So if you want to win people over, just make sure it gets adopted throughout other tools. :) -a