cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/generation DirectoryGenerator.java
Date Tue, 16 Oct 2001 12:02:01 GMT
cziegeler    01/10/16 05:02:01

  Modified:    .        changes.xml
               src/org/apache/cocoon/generation DirectoryGenerator.java
  Log:
  Fixed Directory/ImageDirectory Generators: raw name did not contain prefix
  
  Revision  Changes    Path
  1.38      +5 -1      xml-cocoon2/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/changes.xml,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- changes.xml	2001/10/12 13:46:12	1.37
  +++ changes.xml	2001/10/16 12:02:01	1.38
  @@ -4,7 +4,7 @@
   
   <!--
     History of Cocoon changes
  -  $Id: changes.xml,v 1.37 2001/10/12 13:46:12 cziegeler Exp $
  +  $Id: changes.xml,v 1.38 2001/10/16 12:02:01 cziegeler Exp $
   -->
   
   <changes title="History of Changes">
  @@ -26,6 +26,10 @@
    </devs>
   
    <release version="2.1-dev" date="@date@">
  +  <action dev="CZ" type="fix">
  +    Fixed missing prefix in elements generated by the directory and image
  +    directory generator.
  +  </action>
     <action dev="CZ" type="add">
       Added RTF serialization of XSL-FO documents (requires jfor).
       Patch submitted by Bertrand Delacretaz [bdelacretaz@codeconsult.ch].
  
  
  
  1.16      +3 -3      xml-cocoon2/src/org/apache/cocoon/generation/DirectoryGenerator.java
  
  Index: DirectoryGenerator.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/generation/DirectoryGenerator.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- DirectoryGenerator.java	2001/10/11 07:28:21	1.15
  +++ DirectoryGenerator.java	2001/10/16 12:02:01	1.16
  @@ -62,7 +62,7 @@
    *         (Apache Software Foundation, Exoffice Technologies)
    * @author <a href="mailto:conny@smb-tec.com">Conny Krappatsch</a>
    *         (SMB GmbH) for Virbus AG
  - * @version CVS $Revision: 1.15 $ $Date: 2001/10/11 07:28:21 $ */
  + * @version CVS $Revision: 1.16 $ $Date: 2001/10/16 12:02:01 $ */
   
   public class DirectoryGenerator extends ComposerGenerator implements Recyclable {
     private static final String FILE = "file:";
  @@ -278,7 +278,7 @@
       protected void startNode(String nodeName, File path)
       throws SAXException {
           setNodeAttributes(path);
  -        super.contentHandler.startElement(URI, nodeName, nodeName, attributes);
  +        super.contentHandler.startElement(URI, nodeName, URI+':'+nodeName, attributes);
       }
   
   
  @@ -327,7 +327,7 @@
        */
       protected void endNode(String nodeName)
       throws SAXException {
  -        super.contentHandler.endElement(URI, nodeName, nodeName);
  +        super.contentHandler.endElement(URI, nodeName, URI+':'+nodeName);
       }
   
   
  
  
  

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