Hi Dion,
thank you very much for this hint. It didn´t solve my problem directly
but pointed me into the right direction. Just for reference what the
problem was:
Situation is, that i use jelly embedded in Java. I create an XMLOutput
Stream and run the script with it.
I searched through the WhitespaceTag Example and the TagSupport and
everywhere were methods taking XMLOutput instances. There were also
references to escapeText on the TagSupport.java file but that wasn´t
helpful.
After a few minutes i realized that i am the dude who is creating the
output stream on top of the call stack. I switched to the file, put in a
true into the constructor and see, it works.
Sometimes i really think i sleep when i code. :)
Thank you again for the help. That saved me hours and nerves.
Christian
Dion Gillard wrote:
The tags all have an escapeText attribute that tells Jelly whether or
not to escape XML.
See http://jakarta.apache.org/commons/jelly/tags.html#core:whitespace
for an example.
On 7/6/05, Christian Kalkhoff <[EMAIL PROTECTED]> wrote:
Hi,
i ran into the problem, that jelly outputs invalid xml if one of the
beans available as context variables contains e.g. an & char. Is there a
way to tell jelly (or jexl) to escape such xml special chars. Are there
workarounds?
Regards,
Christian
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]