commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dion gillard (JIRA)" <commons-...@jakarta.apache.org>
Subject [jira] Created: (JELLY-188) tag library xml does not correctly parse body
Date Tue, 04 Jan 2005 07:51:12 GMT
tag library xml does not correctly parse body
---------------------------------------------

         Key: JELLY-188
         URL: http://issues.apache.org/jira/browse/JELLY-188
     Project: jelly
        Type: Bug
  Components: taglib.xml  
    Reporter: dion gillard


If I invoke some Jelly script within an xml tag this "body" will not be parsed
correctly. As far as I understand the code the sequence

            handler.startDocument();
            invokeBody( newOutput);
            handler.endDocument();

will always create an empty document since no tag will ever be reported and thus
all writes will be ignored.

The whole code in the body of the parseBody method in ParseTagSupport.java
should be replaced by

    protected Document parseBody(XMLOutput output) throws JellyTagException {
        return parseText(getBodyText(false));
    }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


Mime
View raw message