Menu

#10 ProcessCmd for gfx:Parameter not processed propertly

open
7
2006-05-08
2006-05-08
Cinly Ooi
No

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(&quot;osgi.os&quot;);" /> 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.

Discussion


Log in to post a comment.