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 2003/02/27 12:17:16 UTC
cvs commit: xml-cocoon2/src/java/org/apache/cocoon/serialization AbstractTextSerializer.java
cziegeler 2003/02/27 03:17:15
Modified: src/java/org/apache/cocoon/serialization Tag:
cocoon_2_0_3_branch AbstractTextSerializer.java
Log:
Possible fix for bug 16903
Revision Changes Path
No revision
No revision
1.9.2.6 +16 -8 xml-cocoon2/src/java/org/apache/cocoon/serialization/AbstractTextSerializer.java
Index: AbstractTextSerializer.java
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/serialization/AbstractTextSerializer.java,v
retrieving revision 1.9.2.5
retrieving revision 1.9.2.6
diff -u -r1.9.2.5 -r1.9.2.6
--- AbstractTextSerializer.java 7 Feb 2003 13:15:14 -0000 1.9.2.5
+++ AbstractTextSerializer.java 27 Feb 2003 11:17:15 -0000 1.9.2.6
@@ -259,13 +259,6 @@
}
public void recycle() {
- if (this.output != null) {
- try {
- this.output.flush();
- } catch (IOException ignored) {
- }
- }
-
super.recycle();
if (this.namespacePipe != null) {
@@ -539,4 +532,19 @@
this.uriList.clear();
}
}
+
+ /* (non-Javadoc)
+ * @see org.xml.sax.ContentHandler#endDocument()
+ */
+ public void endDocument() throws SAXException {
+ super.endDocument();
+
+ if (this.output != null) {
+ try {
+ this.output.flush();
+ } catch (IOException ignored) {
+ }
+ }
+ }
+
}
RE: cvs commit:xml-cocoon2/src/java/org/apache/cocoon/serializationAbstractTextSerializer.java
Posted by Carsten Ziegeler <cz...@s-und-n.de>.
Pier Fumagalli wrote:
>
> On 27/2/03 11:17, "cziegeler@apache.org" <cz...@apache.org> wrote:
>
> > cziegeler 2003/02/27 03:17:15
> >
> > Modified: src/java/org/apache/cocoon/serialization Tag:
> > cocoon_2_0_3_branch AbstractTextSerializer.java
> > Log:
> > Possible fix for bug 16903
>
> And Carsten is again a happy camper committing stuff to CVS...
> Sorry for the
> Karma thing! :-)
>
No problem! But I'm experiencing problems updating from the "old" cvs using
the cocoon_2_0_3_branch. It hangs forever when updating xdocs/images. I
guess
its some lock in there?
Carsten
Re: cvs commit:
xml-cocoon2/src/java/org/apache/cocoon/serialization
AbstractTextSerializer.java
Posted by Pier Fumagalli <pi...@betaversion.org>.
On 27/2/03 11:17, "cziegeler@apache.org" <cz...@apache.org> wrote:
> cziegeler 2003/02/27 03:17:15
>
> Modified: src/java/org/apache/cocoon/serialization Tag:
> cocoon_2_0_3_branch AbstractTextSerializer.java
> Log:
> Possible fix for bug 16903
And Carsten is again a happy camper committing stuff to CVS... Sorry for the
Karma thing! :-)
Pier