commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juergen Weber" <webe...@hotmail.com>
Subject Re: Digester trims whitespace
Date Mon, 07 Jul 2003 22:27:13 GMT
>You will need to write your own Rule implementation in order to do this.

For which Rule? I did not find a way to extend the built-in behavour in 
order to not have called trim().

A call to String.trim() is in
CallParamRule.java, CallMethodRule.java, BeanPropertySetterRule.java and 
NodeCreateRule.java

As I understand, to remove the trim() behaviour, I'd have to replace (and 
not extend) the built-in Rules, which seems wrong.

I think the trim() behaviour should be configurable with a call analogous to 
setValidating(boolean validating) somethink like setTrimming(boolean)

Greetings,
Juergen

_________________________________________________________________
MSN - More Useful Every Day  http://www.msn.de


Mime
View raw message