On Wed, Jun 2, 2010 at 8:08 PM, Fabrizio Morbini <fmorb...@gmail.com> wrote:
> Hi, if we have the following case:
>  2 scxml files: a.scxml and b.scxml
>  in a.scxml, 2 different nodes use the src attribute to source the
> content from other 2 different nodes defined in b.scxml (using the
> syntax src="b.scxml#node_i").
>
> is the file b.scxml completely parsed for every instance of src
> attribute found while parsing a.scxml? Or is b.scxml parsed only once
> and the result reused?
>
<snip/>

It will be parsed twice, completely (any time the src attribute is
used, the entire document at the mentioned URL is parsed). Therefore,
where possible, its better to separate content that gets sourced in,
into smaller independent files.

-Rahul


> thanks,
> fabrizio.
>

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

Reply via email to