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

So:

<configuration>
  <foobar>
</foobar><!-- I want that line ending to be preserved -->
</configuration>

The foobar parameter has a default-value set on it.

The net effect I see is that no matter how I protect the whitespace, it is
still being treated as "not set", and I'm getting the default value instead.

Here are the things I tried:

<foobar><![CDATA[
]]></foobar>

<foobar>${line.separator}</foobar>

<foobar xml:space="preserve">
</foobar>

<foobar>&x0d;</foobar>

Is this a bug in plugin configuration?

Thanks,
Laird

-- 
http://about.me/lairdnelson

Reply via email to