On Wed, 23 May 2001, Nick Afshartous wrote:
Hi,
I'm using the digester to process the nested content in
XML tags and am noticing that the leading/trailing whitespace
doesn't seem to be removed as advertised in the doc.
Hmm.
You're correct that the whitespace isn't being trimmed.
On Thu, 24 May 2001, Mark Simms wrote:
I believe the digester must be rewritten to support the JAXP 1.1 specs.
It's already been done in the Jakarta Commons version of Digester. Struts
will switch to this at some point *after* 1.0 final -- the advertised XML
parser requirement for
: digester and whitespace in XML text body
I'd like to follow up on my original post. It looks like the
digester.CallMethodRule.body method doesn't remove whitespace
from both ends of the XML body text. However, other rules
like digester.CallParamRule.body actually do by calling method
be in a central place
(i.e. digester.Digester) so that the individual rules don't
have to worry about removing the whitespace ?
I'd be happy to work on a patch.
--
Nick
From: Nick Afshartous [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: digester and whitespace in XML text body
4 matches
Mail list logo