Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2014 22:36:04 -0700
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        Alfred Perlstein <bright@mu.org>
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:  <20140815053604.9E40B580A2@chaos.jnpr.net>
In-Reply-To: <53ED57F2.5020808@mu.org>
References:  <201408141640.s7EGe422096656@idle.juniper.net> <53ED57F2.5020808@mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140815053604.9E40B580A2>