You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by br...@apache.org on 2005/01/29 15:29:28 UTC
svn commit: r149045 - /jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/ElementTag.java
Author: brett
Date: Sat Jan 29 06:29:27 2005
New Revision: 149045
URL: http://svn.apache.org/viewcvs?view=rev&rev=149045
Log:
resolve issue where content output before start tag
Modified:
jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/ElementTag.java
Modified: jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/ElementTag.java
Url: http://svn.apache.org/viewcvs/jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/ElementTag.java?view=diff&rev=149045&p1=jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/ElementTag.java&r1=149044&p2=jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/ElementTag.java&r2=149045
==============================================================================
--- jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/ElementTag.java (original)
+++ jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/ElementTag.java Sat Jan 29 06:29:27 2005
@@ -22,6 +22,8 @@
import org.xml.sax.SAXException;
import org.xml.sax.helpers.AttributesImpl;
+import java.io.IOException;
+
/** A tag to produce an XML element which can contain other attributes
* or elements like the <code><xsl:element></code> tag.
*
@@ -115,6 +117,14 @@
initialize();
super.ignorableWhitespace(ch, start, length);
}
+
+ public void objectData(Object object)
+ throws SAXException
+ {
+ initialize();
+ super.objectData( object );
+ }
+
public void processingInstruction(String target, String data)
throws SAXException {
initialize();
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org