Author: vgritsenko Date: Fri Apr 1 12:00:55 2005 New Revision: 159723 URL: http://svn.apache.org/viewcvs?view=rev&rev=159723 Log: complete todo item
Added: cocoon/branches/BRANCH_2_1_X/src/deprecated/java/org/apache/cocoon/transformation/helpers/EventRecorder.java - copied, changed from r159708, cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/helpers/EventRecorder.java Removed: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/helpers/EventRecorder.java Modified: cocoon/branches/BRANCH_2_1_X/status.xml Copied: cocoon/branches/BRANCH_2_1_X/src/deprecated/java/org/apache/cocoon/transformation/helpers/EventRecorder.java (from r159708, cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/helpers/EventRecorder.java) URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/deprecated/java/org/apache/cocoon/transformation/helpers/EventRecorder.java?view=diff&rev=159723&p1=cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/helpers/EventRecorder.java&r1=159708&p2=cocoon/branches/BRANCH_2_1_X/src/deprecated/java/org/apache/cocoon/transformation/helpers/EventRecorder.java&r2=159723 ============================================================================== --- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/helpers/EventRecorder.java (original) +++ cocoon/branches/BRANCH_2_1_X/src/deprecated/java/org/apache/cocoon/transformation/helpers/EventRecorder.java Fri Apr 1 12:00:55 2005 @@ -1,12 +1,12 @@ /* - * Copyright 1999-2004 The Apache Software Foundation. - * + * Copyright 1999-2005 The Apache Software Foundation. + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -21,12 +21,12 @@ /** * Can send recorded events and be cloned. * + * @deprecated The only user of this class (I18nTransformer) now uses ParamSaxBuffer * @author <a href="mailto:[EMAIL PROTECTED]">Matthieu Sozeau</a> - * @version CVS $Id: EventRecorder.java,v 1.2 2004/03/05 13:03:00 bdelacretaz Exp $ + * @version $Id$ */ - -public interface EventRecorder { - public void send(ContentHandler handler) +public interface EventRecorder { + public void send(ContentHandler handler) throws SAXException; public Object clone(); Modified: cocoon/branches/BRANCH_2_1_X/status.xml URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/status.xml?view=diff&r1=159722&r2=159723 ============================================================================== --- cocoon/branches/BRANCH_2_1_X/status.xml (original) +++ cocoon/branches/BRANCH_2_1_X/status.xml Fri Apr 1 12:00:55 2005 @@ -170,12 +170,6 @@ </action> <action context="code"> - EventRecorder classes in o.a.c.transformation.helpers package are similar - to SaxBuffer. SaxBuffer should be extended (if it misses some functionality), - and EventRecorder deprecated and removed. - </action> - - <action context="code"> XMLize exception handling so that error pages can become more semantically meaningful. Currently all XSP compilation errors are stored in a single string. With XMLized exceptions we could display @@ -202,6 +196,10 @@ <changes> <release version="@version@" date="@date@"> + <action dev="VG" type="update"> + Deprecate EventRecorder (in o.a.c.t.helpers package). It will be + removed starting with Cocoon 2.2. + </action> <action dev="VG" type="fix" fixes-bug="26107"> XSP Block: Note in the documentation that XSP namespace must be declared on the <code>xsp:page</code> element. @@ -266,7 +264,7 @@ <code>java.text.SimpleDateFormat</code> and <code>Icu4jDateFormatter</code> that uses ICU4J. There was previously an automatic switch to ICU4J if the library was present in the classpath, which sometimes caused some strange - results are it behaves a bit differently. + results as it behaves a bit differently. </action> <action dev="BD" type="fix"> Tour block: fix "shapes" sample using if/else in flowscript