cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/xml/xlink ExtendedXLinkPipe.java
Date Tue, 21 Aug 2001 21:13:13 GMT
vgritsenko    01/08/21 14:13:13

  Modified:    src/org/apache/cocoon/xml/xlink Tag: cocoon_20_branch
                        ExtendedXLinkPipe.java
  Log:
  link traversal fix
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.1.1.2.2 +4 -2      xml-cocoon2/src/org/apache/cocoon/xml/xlink/ExtendedXLinkPipe.java
  
  Index: ExtendedXLinkPipe.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/xml/xlink/ExtendedXLinkPipe.java,v
  retrieving revision 1.1.1.1.2.1
  retrieving revision 1.1.1.1.2.2
  diff -u -r1.1.1.1.2.1 -r1.1.1.1.2.2
  --- ExtendedXLinkPipe.java	2001/08/20 14:07:36	1.1.1.1.2.1
  +++ ExtendedXLinkPipe.java	2001/08/21 21:13:13	1.1.1.1.2.2
  @@ -26,13 +26,15 @@
    * be a way to remove this, that will be a happy day for XML and for Cocoon too.
    *
    * @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
  - * @version CVS $Revision: 1.1.1.1.2.1 $ $Date: 2001/08/20 14:07:36 $
  + * @version CVS $Revision: 1.1.1.1.2.2 $ $Date: 2001/08/21 21:13:13 $
    */
   
   public abstract class ExtendedXLinkPipe extends XLinkPipe {
   
       public void startElement(String uri, String name, String raw, Attributes attr) throws
SAXException {
  -
  +        if (uri == null) {
  +            uri = "";
  +        }
           String href = attr.getValue(uri, "href");
           if (href != null) {
               simpleLink(href, null, null, null, null, null, uri, name, raw, attr);
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message