cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/batik/java/org/apache/cocoon/transformation FragmentExtractorTransformer.java
Date Wed, 30 Jul 2003 02:24:43 GMT
joerg       2003/07/29 19:24:43

  Modified:    src/blocks/batik/java/org/apache/cocoon/transformation
                        FragmentExtractorTransformer.java
  Log:
  fixing bug 21855: namespace uri as empty string instead of null (spotted by Martin Holz)
  
  Revision  Changes    Path
  1.4       +4 -4      cocoon-2.1/src/blocks/batik/java/org/apache/cocoon/transformation/FragmentExtractorTransformer.java
  
  Index: FragmentExtractorTransformer.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/batik/java/org/apache/cocoon/transformation/FragmentExtractorTransformer.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- FragmentExtractorTransformer.java	24 Mar 2003 14:33:55 -0000	1.3
  +++ FragmentExtractorTransformer.java	30 Jul 2003 02:24:43 -0000	1.4
  @@ -345,9 +345,9 @@
                       // Insert ref.
                       super.startPrefixMapping("fe", FE_URI);
                       AttributesImpl atts = new AttributesImpl();
  -                    atts.addAttribute(null,"fragment-id","fragment-id","CDATA",id);
  -                    super.startElement(FE_URI,"fragment","fe:fragment",atts);
  -                    super.endElement(FE_URI,"fragment","fe:fragment");
  +                    atts.addAttribute("", "fragment-id", "fragment-id", "CDATA", id);
  +                    super.startElement(FE_URI, "fragment", "fe:fragment", atts);
  +                    super.endElement(FE_URI, "fragment", "fe:fragment");
                       super.endPrefixMapping("fe");
                   }
               }
  
  
  

Mime
View raw message