You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2001/10/16 14:01:40 UTC
cvs commit: xml-cocoon2/src/org/apache/cocoon/generation DirectoryGenerator.java
cziegeler 01/10/16 05:01:40
Modified: . Tag: cocoon_20_branch changes.xml
src/org/apache/cocoon/generation Tag: cocoon_20_branch
DirectoryGenerator.java
Log:
Fixed Directory/ImageDirectory Generators: raw name did not contain prefix
Revision Changes Path
No revision
No revision
1.2.2.39 +5 -1 xml-cocoon2/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/changes.xml,v
retrieving revision 1.2.2.38
retrieving revision 1.2.2.39
diff -u -r1.2.2.38 -r1.2.2.39
--- changes.xml 2001/10/12 09:56:22 1.2.2.38
+++ changes.xml 2001/10/16 12:01:40 1.2.2.39
@@ -4,7 +4,7 @@
<!--
History of Cocoon changes
- $Id: changes.xml,v 1.2.2.38 2001/10/12 09:56:22 cziegeler Exp $
+ $Id: changes.xml,v 1.2.2.39 2001/10/16 12:01:40 cziegeler Exp $
-->
<changes title="History of Changes">
@@ -26,6 +26,10 @@
</devs>
<release version="@version@" 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="fix">
Throw exception for internal requests instead of using the error handler and
fixed component handling in subsitemaps when invoked internally. Components only
No revision
No revision
1.6.2.9 +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.6.2.8
retrieving revision 1.6.2.9
diff -u -r1.6.2.8 -r1.6.2.9
--- DirectoryGenerator.java 2001/10/11 08:56:12 1.6.2.8
+++ DirectoryGenerator.java 2001/10/16 12:01:40 1.6.2.9
@@ -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.6.2.8 $ $Date: 2001/10/11 08:56:12 $ */
+ * @version CVS $Revision: 1.6.2.9 $ $Date: 2001/10/16 12:01:40 $ */
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