Falk wrote:
(...)
We do have the same problem and solve it by transforming all strings by our
class XMLEscaper (...) I would be surprised if there existed some magic
avoiding this step.
(...)
You are probably right. Still, I would very much like to hear from anybody
who could prove you wrong. Having to use something like
XMLEscaper.escape(Book.getPreface()) for all the output you take from your
beans and use to generate XML really sounds like a mess to me.
While we are at it: If you just *have* to do this conversion, why not do it
when you put information into the beans rather than when you take it back
out again... many systems on the web certainly have more content browsing
than updates of content.
Still, I sure hope this EJB/XML hindrance is just a rumour - somebody tell
me there is a solution to this (!)
Randahl