[
http://issues.apache.org/jira/browse/JELLY-218?page=comments#action_12319825 ]
Tony Robertson commented on JELLY-218:
--------------------------------------
The following patch seems to fix the problem:
Index: ParseTag.java
===================================================================
--- ParseTag.java (revision 233399)
+++ ParseTag.java (working copy)
@@ -123,6 +123,7 @@
public XMLReader getXMLReader() throws ParserConfigurationException,
SAXException {
if (xmlReader == null) {
xmlReader = createXMLReader();
+ xmlReader.setContentHandler(getJellyParser());
}
return xmlReader;
}
> Output is lost when using text attribute of core:parse tag
> ----------------------------------------------------------
>
> Key: JELLY-218
> URL: http://issues.apache.org/jira/browse/JELLY-218
> Project: jelly
> Type: Bug
> Components: core / taglib.core
> Versions: 1.0-beta-4, 1.0-beta-5, 1.1-beta-1
> Environment: Windows XP, JDK1.5, Ant 1.6.5
> Reporter: Tony Robertson
>
> When using the "text" attribute of the core:parse tag, the text is parsed but
> then the result is lost. If a "var" attribute is also used, it gets a null
> value. Otherwise a null pointer exception is thrown when the doTag method
> trys to invoke the script.
> (note, the equivalent problem when using the tag body as the XML source was
> fixed by "polx" at revision 135985, but not using the text attribute).
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]