Le dimanche 18 novembre 2012 09:10:33 Olivier Lamy a écrit :
> 2012/11/18 Hervé BOUTEMY <herve.bout...@free.fr>:
> > I just implemented MODELLO-256, which will permit to preserve whitespace
> > in
> > Maven plugins configuration: see MNG-5380 [1].
> > 
> > The question is: should we change the overall behaviour (plugins can trim
> > when they need, and usually, there is no extra space in plugin
> > configurations so nothing will break) or should we implement a more
> > complex scenario where whitespace is trimmed by default but preserved
> > only when xml:space="preserve" is found?
> > 
> > WDYT?
> 
> +1 for xml:space="preserve".
> Using real norm sounds good for me.
so, you like the complex scenario :(
(which is, yes, exciting since we're at least using a standard attribute)

the basic scenario where whitespace is preserved in plugin configuration 
(instead of trimmed previously) isn't sufficient?

Notice: the good answer for me as a coder is "yes, Keep It Stupid Simple", 
which seems sufficient from my experience, but if somebody knows of a real 
world 
case where space preserving would wreck havoc, I can make more code and add 
this xml:space="preserve" option

> 
> > Hervé
> > 
> > [1] https://jira.codehaus.org/browse/MNG-5380
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> > For additional commands, e-mail: dev-h...@maven.apache.org
> 
> --
> Olivier Lamy
> Talend: http://coders.talend.com
> http://twitter.com/olamy | http://linkedin.com/in/olamy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to