On 07/26/2013 01:48 PM, Paolo Bonzini wrote: > Il 26/07/2013 21:33, Markus Armbruster ha scritto: >>> Do we even want to allow TABs in the schema files? Right now, they are >>> tab-free; if you error out here instead of futzing with tab width, we >>> could forcefully maintain that property. >> >> I'm not volunteering for the TAB police, but if y'all want the parser to >> reject TABs, I can do that. > > No, please don't. TAB is whitespace in JSON, and should be whitespace > in schema files.
Good argument. Just because we don't use it now doesn't mean we have to actively forbid it from future use; and the more we diverge from the JSON spec, the more we are stuck maintaining our parser by hand. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
