jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sh...@apache.org
Subject cvs commit: jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/common/xml XPathUtil.java
Date Fri, 22 Mar 2002 22:57:10 GMT
shawn       02/03/22 14:57:10

  Modified:    standard/src/org/apache/taglibs/standard/tag/common/xml
                        XPathUtil.java
  Log:
  My changes that fixed the non-attribute namespaces broke the default
  namespace.
  
  Revision  Changes    Path
  1.4       +1 -1      jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/common/xml/XPathUtil.java
  
  Index: XPathUtil.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/common/xml/XPathUtil.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- XPathUtil.java	19 Mar 2002 15:16:30 -0000	1.3
  +++ XPathUtil.java	22 Mar 2002 22:57:10 -0000	1.4
  @@ -127,7 +127,7 @@
                   String localName) throws UnresolvableException {
   	    // I'd prefer to match on namespace, but this doesn't appear
               // to work in Jaxen
  -	    if (prefix == null) {
  +	    if (prefix == null || prefix.equals("")) {
   		return notNull(
   		    pageContext.findAttribute(localName),
   		    prefix,
  
  
  

--
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