XML Output: libxo - provide single API to output TXT, XML, JSON and HTML

John-Mark Gurney jmg at funkthat.com
Wed Jul 30 06:59:57 UTC 2014


Adrian Chadd wrote this message on Mon, Jul 28, 2014 at 22:57 -0700:
> 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.

Actually, it does.. there are somethings that you can express in XML
or others that you can't express in JSON...  Like there is no binary
data type in JSON...  You only have unicode strings...  I hope the
library that outputs JSON ensures that all strings are valid UTF-8..

If not, I can imagine that someone will have a security issue due
to this...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-arch mailing list