commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay Khimani <jay.khim...@gmail.com>
Subject Digester trimming leading and trailing space from XML body text
Date Thu, 12 Mar 2009 07:02:27 GMT
Hi,

I'm relatively new to digester. I'm in a situation where I'm parsing the XML
with digester and when calling bean-property-setter-rule, it trims leading
and trailing space from the XML body. This is exactly what I dont want. I
want spaces to retail.

Is there anyway to achieve this for XML rules or I need to parse my XML
using Digester Java rules and then override the BeanPropertySetterRule
class?

-- 
**************
Jay !!!
  __o
_-\<,_
(_)/ (_)
**************
- Think B4 U Print

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message