You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by rd...@apache.org on 2005/10/09 21:12:44 UTC

svn commit: r312492 - in /jakarta/commons/proper/betwixt/trunk: src/java/org/apache/commons/betwixt/digester/TextRule.java xdocs/tasks.xml

Author: rdonkin
Date: Sun Oct  9 12:12:38 2005
New Revision: 312492

URL: http://svn.apache.org/viewcvs?rev=312492&view=rev
Log:
Fixed TextRule logic bug. Submitted by Dave Brosius. Issue #36930.

Modified:
    jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/digester/TextRule.java
    jakarta/commons/proper/betwixt/trunk/xdocs/tasks.xml

Modified: jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/digester/TextRule.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/digester/TextRule.java?rev=312492&r1=312491&r2=312492&view=diff
==============================================================================
--- jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/digester/TextRule.java (original)
+++ jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/digester/TextRule.java Sun Oct  9 12:12:38 2005
@@ -109,7 +109,7 @@
         if ( top instanceof XMLBeanInfo ) {
             XMLBeanInfo beanInfo = (XMLBeanInfo) top;
             ElementDescriptor elementDescriptor = beanInfo.getElementDescriptor();
-            if (elementDescriptor == null) {
+            if (elementDescriptor != null) {
                 elementDescriptor.addContentDescriptor( descriptor );
             }
             

Modified: jakarta/commons/proper/betwixt/trunk/xdocs/tasks.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/betwixt/trunk/xdocs/tasks.xml?rev=312492&r1=312491&r2=312492&view=diff
==============================================================================
--- jakarta/commons/proper/betwixt/trunk/xdocs/tasks.xml (original)
+++ jakarta/commons/proper/betwixt/trunk/xdocs/tasks.xml Sun Oct  9 12:12:38 2005
@@ -200,7 +200,10 @@
     <subsection name='Since 0.7'>            
         <ul>
             <li>
-Fixed attribute ID name recognition bug (Issue #36929). 
+Fixed TextRule content bug. (Issue #36930).
+            </li>
+            <li>
+Fixed attribute ID name recognition bug. (Issue #36929). 
             </li>
             <li>
 Added support for text and options into multi-mappings.



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org