tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carreira, Jason" <>
Subject RE: PATCH:jakarta-tomcat/src/share/org/apache/jasper/compiler/Tag
Date Tue, 16 Nov 1999 16:47:43 GMT
> -----Original Message-----
> From: Anil V []
> Sent: Monday, November 15, 1999 7:31 PM
> To:
> Subject: Re:
> PATCH:jakarta-tomcat/src/share/org/apache/jasper/compiler/TagL
> ibraryInfo
> Danno,
> I understand that textnodes are being returned where elements 
> are expected and there is a class cast exception. But I still 
> can't see where I could add space in the TLD to reproduce 
> this. (You didn't attach a
> TLD in your mail.) Maybe be I'm being dense here but please 
> send me a TLD or modify the TLD in
> examples/WEB-INF/jsp/example-taglib.tld.

I don't really know anything about this stuff specifically, as I haven't had
a chance to start looking at the code yet, but I was getting problems with
text nodes from extraneous whitespace using IBM's XML4J parser... The Sun
ProjectX parser didn't generate these extraneous text nodes, however, so
maybe that would help.

Also, if you do an Element.normalize() it will (or is supposed to) combine
any adjacent text nodes, which might also help.

View raw message