> -----Original Message-----
> From: Laird Nelson [mailto:[email protected]] 
> Sent: Monday, September 12, 2011 15:31
> To: Maven Users List
> Subject: Re: [maven] Re: Preserving whitespace when 
> configuring plugin?
> 
> 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).  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.
> 

I think that supporting the xml:space='preserve' would be best as it would be
backwards compatible. But there are other disfunctions in the same parsing logic
too.

-Jason

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to