Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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)); }