Date: Fri, 15 Aug 2014 00:04:15 -0700 From: Alfred Perlstein <bright@mu.org> To: "Simon J. Gerraty" <sjg@juniper.net> Cc: Marcel Moolenaar <marcel@freebsd.org>, Phil Shafer <phil@juniper.net>, John-Mark Gurney <jmg@funkthat.com>, arch@freebsd.org, Poul-Henning Kamp <phk@phk.freebsd.dk>, freebsd-arch <freebsd-arch@freebsd.org>, Konstantin Belousov <kostikbel@gmail.com> Subject: Re: XML Output: libxo - provide single API to output TXT, XML, JSON and HTML Message-ID: <53EDB0EF.6090902@mu.org> In-Reply-To: <20140815053604.9E40B580A2@chaos.jnpr.net> References: <201408141640.s7EGe422096656@idle.juniper.net> <53ED57F2.5020808@mu.org> <20140815053604.9E40B580A2@chaos.jnpr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8/14/14, 10:36 PM, Simon J. Gerraty wrote: > On Thu, 14 Aug 2014 17:44:34 -0700, Alfred Perlstein writes: >> I don't understand the need to query these programs for support of the >> option. > It's very simlpe. You run app A and tell it to output XML. > App A needs to run app B, and needs to know if it can output valid XML > or whether all its output needs to be wrapped/escaped. > Failure to handle this will result in garbage. > > Sure that is fairly simple, but where will that really even be needed in practice right now? It seems fairly contrived, for what use case? Something like "find / --type libxo --exec {} \;" ? Or something real? This really seems to be going off the deep end of over engineering. How many programs have been successfully converted over to libxo at this point? -Alfred
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53EDB0EF.6090902>