tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anil V <an...@pacbell.net>
Subject Re: PATCH:jakarta-tomcat/src/share/org/apache/jasper/compiler/TagLibraryInfoImpl.java
Date Sat, 13 Nov 1999 00:08:45 GMT
Hi Danno,

Am not sure what exactly you are trying to fix here. Can you please explain a bit? A test
case that causes the
class cast exception would be nice too.

Thanks.

Danno Ferrin wrote:

> The XML Parser makes whitspace exposed as content data at the same level =
> as elements, simple fix, just only look at elements
>
> diff -w TagLibraryImpl.java TagLibraryInfoImpl.java.1.5
> 327,329c327
> <             Object o =3D list.item(i);
> <             if (o instanceof Element) {
> <                 Element e =3D (Element) o;
> ---
> >             Element e =3D (Element) list.item(i);
> 360d357
> <             };
> 375,377c372
> <             Object o =3D list.item(i);
> <             if (o instanceof Element) {
> <                   Element e =3D (Element) o;
> ---
> >             Element e =3D (Element) list.item(i);
> 408d402
> <             };
> 457,458d450
> <             Object o =3D list.item(i);
> <             if (o instanceof Element) {
> 488d479
> <             };

--
Peace, Anil +<:-)




Mime
View raw message