Hi Jérémie,

On 12/04/2013 10:33 PM, Jérémie Galarneau wrote:

> Session Configuration File Format

This is great news. Providing the ability to specify the specifics of a
session as data will benefit command line users as well as IDEs (talking
to lttng).

> ...
> ...
> XML seems like a better option than JSON since it makes it possible to have
> robust file validation using a pre-defined schema. The use of version-specific
> schemas could also be beneficial for backward compatibility as the format
> moves forward. Finally, character encoding handling is already a solved
> problem for most XML libraries.

Just in case you don't know, there is also schema validation for JSON:
http://json-schema.org/
Available in multiple implementations (Java, C, Javascript, ...):
http://json-schema.org/implementations.html

--
Thanks,
Paul

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to