On Thursday 23 May 2002 12:31 pm, Leo Sutic wrote:
> I'm a bit against that, as it would mean that you could not put zero
> length strings in a configuration. The default should only be applied if
> the element does not exist.

Actually you can, if you do
<factory>
</factory>

and the whitespace-preservation is off, you (should) get an empty string 
since "\n".trim().equals("")

IMHO the change should stay since it keeps prior behavior. (ie undeclared 
contract with the user). of course i'm biased since i spent a few hours 
tracking it down... :)
-pete


-- 
peter royal -> [EMAIL PROTECTED]

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to