On Mon, Sep 12, 2011 at 11:01 AM, Laird Nelson <[email protected]> wrote:

> I'm writing a plugin.  One of the things I need to do is preserve
> whitespace in a particular configuration setting.
>

Somewhat more alarmingly, it looks like leading and trailing whitespace is
trimmed as well.  So:

<someConfigurationElement>   Hello!   </someConfigurationElement>

...is trimmed and becomes simply:

Hello!

...in my code (no leading or trailing space).

The same effect is observed with CDATA:

<someConfigurationElement><![CDATA[   Hello!
]]></someConfigurationElement>

I'm guessing this is a bug in the internals of some Plexus component
somewhere.  Where should I file the bug?

Thanks,
Laird

--
http://about.me/lairdnelson

Reply via email to