Date: Wed, 30 Jul 2014 09:15:00 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Jos Backus <jos@catnook.com> Cc: arch@freebsd.org, Adrian Chadd <adrian@freebsd.org>, Jordan Hubbard <jkh@mail.turbofuzz.com>, "Simon J. Gerraty" <sjg@juniper.net> Subject: Re: XML Output: libxo - provide single API to output TXT, XML, JSON and HTML Message-ID: <20140730071500.GF37672@ivaldir.etoilebsd.net> In-Reply-To: <CAETOPp2_dwqeLwYOatS-SrP5FYYYJA%2BGCK2qUsCVTyX4MJ7Yeg@mail.gmail.com> References: <20140728055336.GJ50802@ivaldir.etoilebsd.net> <CAETOPp3hJB8Gj%2BPMj3N951krnNqCYiAOY-cPHxMCBy1CQXWJaQ@mail.gmail.com> <A1E63A7A-BB38-4CC3-B5EC-B251BE990572@mail.turbofuzz.com> <CAETOPp0c1xfMj1vDvQRSoV3ec-LdJmyT9AFH02iziN0yuY1D-A@mail.gmail.com> <CAJ-VmomiwUWHWYLdLcQAnp7QBmvQR2wfPoCy=eie-jrvyw0HfA@mail.gmail.com> <CAETOPp3zkpp4PY-CeA4Ei=r7_tw1S6rVYiniU%2BZxQF3PESVAxA@mail.gmail.com> <20140729232338.40AA6580A2@chaos.jnpr.net> <CAETOPp1xcNZW1YdgVErZ2ngJM5D3p%2BL3HJHE2aKOvEvSh6Sh%2Bw@mail.gmail.com> <20140730034641.46ABE580A2@chaos.jnpr.net> <CAETOPp2_dwqeLwYOatS-SrP5FYYYJA%2BGCK2qUsCVTyX4MJ7Yeg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--bGR76rFJjkSxVeRa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 29, 2014 at 09:44:17PM -0700, Jos Backus wrote: > On Jul 29, 2014 8:46 PM, "Simon J. Gerraty" <sjg@juniper.net> wrote: > > > > > > On Tue, 29 Jul 2014 16:30:53 -0700, Jos Backus writes: > > >> You certainly cannot wait for all of it to arrive before you start > > >> rendering. > > > > > >Understood. This is why a serialization output format that supports > > >streaming data is useful. > > > > Indeed; XML works fine for that. >=20 > Not to beat a dead horse, but so does YAML, and it's more lightweight/less > verbose so I personally find it more elegant. But sure, XML would work as > well. >=20 YAML is not more lightweight at all, it is really heavy to parse compared to XML or JSON. regards, Bapt --bGR76rFJjkSxVeRa Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlPYm3QACgkQ8kTtMUmk6EzsyACfVx9xexgW11eZU0i1T8ZYWL2S ut4An10j2MGKsx3HRd7/smhevaGfggad =lgVD -----END PGP SIGNATURE----- --bGR76rFJjkSxVeRa--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140730071500.GF37672>