commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Seebregts <t...@iveri.com>
Subject SCXML <var>. handled differently between SCXMLDigester and SCXMLParser ?
Date Mon, 28 Jan 2008 10:30:18 GMT
Hi,

Has the usage/declaration of <var> changed between the SCXMLDigester and 
the SCXMLParser ?

Using the SCXMLDigester (as allowed but deprecated in 0.7), declaring a 
var invokes the Var constructor while compiling the script and the var 
is accessible from the context during execution. Compiling the same 
script with SCXMLParser never invokes the Var constructor and any 
'assign' statement that references the variables throws an 
UNDEFINED_VARIABLE error.

The SCXMLParser javadoc does mention that the XML namespace for var's 
has changed but there don't seem to be any changes in the sample and 
test scripts (at least that I could see).

regards

Tony Seebregts



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message