Konstantin Priblouda wrote:
--- Joe Berkovitz <[EMAIL PROTECTED]> wrote:
For instance in the actionscript plugin, strings
with embedded special chars can arise because I apply actual Java reflection to compiled classes, to extract data that qdox does not parse or otherwise capture (in this case, the initialized value of a static
final Field).

This is not the classic use case for xdoclet. Usually
compiled classes are not available. Could it be done at the
runtime?

It can not be done at runtime because the purpose here is to generate code at compile time. It's easy enough to include the compiled classes in the xdoclet task's classpath, so there is no problem applying reflect where needed. If QDox exposed more information in Field, we wouldn't need to reflect, but extending QDox seems like a big problem.

I guess I'll write some custom escaping for the actionscript plugin since it seems there is not enough reasons to put it in the XD2 framework.

... .  .    j

Reply via email to