cziegeler 2002/11/14 07:31:01 Modified: src/java/org/apache/cocoon/transformation Tag: cocoon_2_0_3_branch SQLTransformer.java . Tag: cocoon_2_0_3_branch changes.xml Log: <action dev="CZ" type="fix" fixes-bug="14466" due-to="Luca Morandini" due-to-email="[EMAIL PROTECTED]"> Fixing namespace handling of SQLTransformer. </action> Revision Changes Path No revision No revision 1.10.2.4 +1 -31 xml-cocoon2/src/java/org/apache/cocoon/transformation/Attic/SQLTransformer.java Index: SQLTransformer.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/transformation/Attic/SQLTransformer.java,v retrieving revision 1.10.2.3 retrieving revision 1.10.2.4 diff -u -r1.10.2.3 -r1.10.2.4 --- SQLTransformer.java 23 Oct 2002 04:31:04 -0000 1.10.2.3 +++ SQLTransformer.java 14 Nov 2002 15:30:59 -0000 1.10.2.4 @@ -173,9 +173,6 @@ /** Namespace uri to output */ protected String outUri; - /** The prefix of our namespace to listen to */ - protected String inPrefix; - /** The database selector */ protected ComponentSelector dbSelector; @@ -219,7 +216,6 @@ super.recycle(); this.queries.clear(); this.outUri = null; - this.inPrefix = null; this.outPrefix = null; this.manager.release(this.parser); this.parser = null; @@ -688,32 +684,6 @@ return name; } } - - /** - * ContentHandler method - */ - public void startPrefixMapping( String prefix, String uri ) - throws SAXException { - if ( uri.equals( NAMESPACE ) ) { - if (inPrefix != null) { - super.startPrefixMapping( inPrefix, NAMESPACE); - } - inPrefix = prefix; - } else { - super.startPrefixMapping( prefix, uri ); - } - } - - /** - * ContentHandler method - */ - public void endPrefixMapping( String prefix ) - throws SAXException { - if ( !prefix.equals( inPrefix ) ) { - super.endPrefixMapping( prefix ); - } - } - /** * ContentHandler method No revision No revision 1.138.2.67 +4 -1 xml-cocoon2/changes.xml Index: changes.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/changes.xml,v retrieving revision 1.138.2.66 retrieving revision 1.138.2.67 diff -u -r1.138.2.66 -r1.138.2.67 --- changes.xml 31 Oct 2002 16:22:49 -0000 1.138.2.66 +++ changes.xml 14 Nov 2002 15:31:00 -0000 1.138.2.67 @@ -39,6 +39,9 @@ </devs> <release version="@version@" date="@date@"> + <action dev="CZ" type="fix" fixes-bug="14466" due-to="Luca Morandini" due-to-email="[EMAIL PROTECTED]"> + Fixing namespace handling of SQLTransformer. + </action> <action dev="SW" type="add"> New ZipArchiveSerializer to build zip files aggregating various sources as archive entries. Can be used to generate zip files, sxw files (OpenOffice),
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]