cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r160282 - cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/XIncludeTransformer.java cocoon/branches/BRANCH_2_1_X/status.xml
Date Wed, 06 Apr 2005 10:36:47 GMT
Author: antonio
Date: Wed Apr  6 03:36:44 2005
New Revision: 160282

URL: http://svn.apache.org/viewcvs?view=rev&rev=160282
Log:
Fix bug #34325 due to Joachim Breitsprecher

Modified:
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/XIncludeTransformer.java
    cocoon/branches/BRANCH_2_1_X/status.xml

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/XIncludeTransformer.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/XIncludeTransformer.java?view=diff&r1=160281&r2=160282
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/XIncludeTransformer.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/XIncludeTransformer.java
Wed Apr  6 03:36:44 2005
@@ -171,6 +171,8 @@
             } else if (xIncludeLevel > 0 && fallbackLevel < 1) {
                 xIncludeLevel++;
                 return;
+            } else if (xIncludeLevel > 0 && fallbackLevel > 0) {
+                fallbackLevel++;
             }
 
             xmlBaseSupport.startElement(uri, name, raw, attr);

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=160281&r2=160282
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/status.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/status.xml Wed Apr  6 03:36:44 2005
@@ -196,6 +196,9 @@
 
   <changes>
   <release version="@version@" date="@date@">
+    <action dev="AG" type="fix" fixes-bug="34325"i due-to="Joachim Breitsprecher" due-to-email="jb@dserv.net">
+      XInclude transformer does not handle fallback correctly.
+    </action>
     <action dev="VG" type="update">
       Deprecate EventRecorder (in o.a.c.t.helpers package). It will be
       removed starting with Cocoon 2.2.



Mime
View raw message