On 04/05/2012 12:36 PM, Vincent Massol wrote:
Hi devs,
We need to take a decision. There are 2 places where we have XMLs:
A) In our SCM when we store our documents and when we call mvn xar:format B) When we export XARs
Right now we pretty print in A) (very recent, I've done this a few days ago) but not in B) which is not optimal since users absolutely need to call xar:format to be able to diff their output with what is in our SCM.
* Solution 1: we don't pretty print in A and B * Solution 2: we pretty print in A and B
What would you prefer?
I'm not against either of the options. Usually I prefer pretty-printed stuff, since it's easier to edit properly indented XML, but the XML files aren't supposed to be edited by hand. Let's say a slight +1 for pretty-printing both A and B. -- Sergiu Dumitriu http://purl.org/net/sergiu/