From owner-freebsd-arch@FreeBSD.ORG Fri Aug 15 05:36:17 2014 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DAE01E59; Fri, 15 Aug 2014 05:36:17 +0000 (UTC) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0190.outbound.protection.outlook.com [207.46.163.190]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D72882749; Fri, 15 Aug 2014 05:36:15 +0000 (UTC) Received: from BLUPR05CA010.namprd05.prod.outlook.com (10.255.219.168) by BLUPR05MB723.namprd05.prod.outlook.com (10.141.207.153) with Microsoft SMTP Server (TLS) id 15.0.1005.10; Fri, 15 Aug 2014 05:36:07 +0000 Received: from BL2FFO11FD030.protection.gbl (2a01:111:f400:7c09::161) by BLUPR05CA010.outlook.office365.com (2a01:111:e400:83f::40) with Microsoft SMTP Server (TLS) id 15.0.1005.10 via Frontend Transport; Fri, 15 Aug 2014 05:36:07 +0000 Received: from P-EMF01-SAC.jnpr.net (66.129.239.15) by BL2FFO11FD030.mail.protection.outlook.com (10.173.161.40) with Microsoft SMTP Server (TLS) id 15.0.1010.11 via Frontend Transport; Fri, 15 Aug 2014 05:36:07 +0000 Received: from magenta.juniper.net (172.17.27.123) by P-EMF01-SAC.jnpr.net (172.24.192.21) with Microsoft SMTP Server (TLS) id 14.3.146.0; Thu, 14 Aug 2014 22:36:06 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.21.16.28]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id s7F5a4n61377; Thu, 14 Aug 2014 22:36:04 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id 9E40B580A2; Thu, 14 Aug 2014 22:36:04 -0700 (PDT) To: Alfred Perlstein Subject: Re: XML Output: libxo - provide single API to output TXT, XML, JSON and HTML In-Reply-To: <53ED57F2.5020808@mu.org> References: <201408141640.s7EGe422096656@idle.juniper.net> <53ED57F2.5020808@mu.org> Comments: In-reply-to: Alfred Perlstein message dated "Thu, 14 Aug 2014 17:44:34 -0700." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Thu, 14 Aug 2014 22:36:04 -0700 Message-ID: <20140815053604.9E40B580A2@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:66.129.239.15; CTRY:US; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(6009001)(189002)(199003)(50226001)(90896003)(89996001)(92726001)(101356003)(81342001)(92566001)(69596002)(86362001)(87286001)(85306004)(20776003)(4396001)(76506005)(64706001)(77982001)(68736004)(57986006)(79102001)(84676001)(21056001)(80022001)(70486001)(44976005)(6806004)(83322001)(76482001)(74662001)(47776003)(31966008)(74502001)(87936001)(88136002)(46102001)(85852003)(95666004)(97736001)(76176999)(50986999)(105596002)(102836001)(48376002)(33656002)(93546004)(102176002)(81542001)(99396002)(104166001)(107046002)(93916002)(83072002)(77156001)(110136001)(81156004)(62966002)(106466001)(50466002)(42262002); DIR:OUT; SFP:; SCL:1; SRVR:BLUPR05MB723; H:P-EMF01-SAC.jnpr.net; FPR:; MLV:sfv; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;UriScan:; X-Forefront-PRVS: 0304E36CA3 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning juniper.net discourages use of 66.129.239.15 as permitted sender) Authentication-Results: spf=softfail (sender IP is 66.129.239.15) smtp.mailfrom=sjg@juniper.net; X-OriginatorOrg: juniper.net Cc: Marcel Moolenaar , Phil Shafer , John-Mark Gurney , arch@freebsd.org, Poul-Henning Kamp , freebsd-arch , Konstantin Belousov X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2014 05:36:18 -0000 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.