jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james_strac...@yahoo.co.uk>
Subject Re: [PATCH] xtags - Style tag NPEs when the source is an invalid URL
Date Wed, 17 Apr 2002 22:59:24 GMT
Thanks dIon for the patch. Applied now, should be in the next daily build.

James
----- Original Message -----
From: <dion@multitask.com.au>
To: <taglibs-dev@jakarta.apache.org>
Sent: Wednesday, April 17, 2002 8:52 AM
Subject: [PATCH] xtags - Style tag NPEs when the source is an invalid URL


> Here's the patch to the existing code. We've seen this at work on an
> iPlanet Solaris box where the case of the xsl attribute doesn't match the
> file system...
>
>
> Index: StyleTag.java
> ===================================================================
> RCS file:
>
/home/cvs/jakarta-taglibs/xtags/src/org/apache/taglibs/xtags/xslt/StyleTag.j
ava,v
> retrieving revision 1.8
> diff -r1.8 StyleTag.java
> 328c328,330
> <                 //return new StreamSource(url.toExternalForm());
> ---
> >                 if (url == null) {
> >                     throw new JspException("Bad URL: " + source + ".");
> >                 }
>
>
> --
> dIon Gillard, Multitask Consulting
> Work:      http://www.multitask.com.au
> Developers: http://adslgateway.multitask.com.au/developers
>
>
> --
> To unsubscribe, e-mail:
<mailto:taglibs-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:taglibs-dev-help@jakarta.apache.org>
>
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <mailto:taglibs-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-dev-help@jakarta.apache.org>


Mime
View raw message