cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portal/transformation HTMLEventLinkTransformer.java
Date Fri, 02 Apr 2004 07:07:45 GMT
cziegeler    2004/04/01 23:07:45

  Modified:    src/blocks/portal/java/org/apache/cocoon/portal/transformation
                        HTMLEventLinkTransformer.java
  Log:
  Copy all attributes for a link. Patch from Jon Evans
  
  Revision  Changes    Path
  1.10      +3 -2      cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portal/transformation/HTMLEventLinkTransformer.java
  
  Index: HTMLEventLinkTransformer.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portal/transformation/HTMLEventLinkTransformer.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- HTMLEventLinkTransformer.java	2 Apr 2004 00:05:50 -0000	1.9
  +++ HTMLEventLinkTransformer.java	2 Apr 2004 07:07:45 -0000	1.10
  @@ -110,7 +110,8 @@
   
       protected void createAnchorEvent(Attributes attributes)
       throws SAXException {
  -        AttributesImpl newAttributes = new AttributesImpl();
  +        AttributesImpl newAttributes = new AttributesImpl(attributes);
  +        newAttributes.removeAttribute("href");
           String link = attributes.getValue("href");
   
           CopletInstanceData cid = this.getCopletInstanceData();
  
  
  

Mime
View raw message