ProcessCmd for gfx:Parameter not processed propertly
Status: Beta
Brought to you by:
ooi
if gfx:Parameter's processCmd input looks like this
<gfx:processCmd>
// Comment 1
System.getProperty("osgi.os");
</gfx:processCmd>
The XML output after processing by GenericFX became
<gfx:processCmd value="// Comment 1
System.getProperty("osgi.os");" /> which is
incorrect because
(1) I expect it to be the same as the original, i.e.,
not using attribute "value" to hold the data but to use
a TextNode to hold the data
(2)In the output form, beanshell will not process
correctly coz everything, including
System.getPropertY() are commented out.
Need to check whether the same thing happens to
gfx:TargetAnchor and gfxSourceAnchor as well.
Temporary workaround is not to put comments in
gfx:Parameter.