On Sep 12, 2011, at 3:31 PM, Laird Nelson wrote:

> On Mon, Sep 12, 2011 at 3:19 PM, Jason van Zyl <[email protected]> wrote:
> 
>> I'm not [sure that] changing the way the trimming behaviour works now would
>> be the wisest thing to do after operating that way for so long
>> 
> 
> I agree, and it's why I'm still a little dopey and confused as to why this
> problem would need to be addressed in some global fashion.  I'm looking for
> some kind of selective way (don't care what it is) for whitespace to be
> preserved in pom.xml configuration elements (only).  

Even that may cause problems, the behavior has been there so long you just have 
no way of telling.

> The standards-compliant
> way to do it without even having to touch CDATA is to honor the (hard-coded)
> xml:space="preserve" attribute.  Since Modello never outputs this attribute,
> or reads it, anywhere, it would seem like honoring this attribute when it is
> present would be the simplest way to fix this issue without affecting
> anything about backwards compatibility.

That would be a good way to do it.

> 
> Regarding my plugin, I have a workaround; thanks.
> 

Good good.

> Best,
> Laird
> 
> -- 
> http://about.me/lairdnelson

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------

We all have problems. How we deal with them is a measure of our worth.

 -- Unknown



Reply via email to