User: vharcq
Date: 02/04/12 15:32:45
Modified: core/src/xdoclet XDocletTagSupport.java
Log:
Current Tag handling is only valid if tag names are equals. That permit to branch
forAll Tags loop on different tag name.
Revision Changes Path
1.35 +4 -1 xdoclet/core/src/xdoclet/XDocletTagSupport.java
Index: XDocletTagSupport.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/XDocletTagSupport.java,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -w -r1.34 -r1.35
--- XDocletTagSupport.java 4 Apr 2002 13:48:10 -0000 1.34
+++ XDocletTagSupport.java 12 Apr 2002 22:32:45 -0000 1.35
@@ -38,7 +38,7 @@
*
* @author Dmitri Colebatch ([EMAIL PROTECTED])
* @created October 12, 2001
- * @version $Revision: 1.34 $
+ * @version $Revision: 1.35 $
*/
public abstract class XDocletTagSupport extends TemplateTagHandler
{
@@ -517,6 +517,9 @@
{
// first try to get current tag
XTag tag = getCurrentTag();
+
+ if( tag != null && !tag.name().equals( tag_name ) )
+ tag = null;
if( tag == null )
{
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel