Please file a bug, as this seems like a regression to me.

I would have expected that a text include should be expanded and then parsed.

On 2009-12-04, at 08:09, Rami Ojares / AMG Oy wrote:

> I tried again the following code
> 
> File fragment.lzx
> -----------------
> <canvas debug="true">
>    <view >
>        <include href="fragment1.lzx" type="text"/>
>    </view>
> </canvas>
> 
> 
> File fragment1.lzx
> ------------------
> <method name="foo" args="src">
>    Debug.write("CHECK");
> </method>
> <handler name="oninit">
>    foo();
> </handler>
> 
> "CHECK" should appear in the debug window but it doesn't.
> I double checked this so that I pasted the fragment1.lzx in the place of the 
> include and the CHECK appeared.
> 
> My quess is that when the type is text the content is not treated as code 
> anymore but somehow escaped to a string that then disappears at same point in 
> the compilation.
> 
> - rami


Reply via email to