[Laszlo-dev] compilation errors

Henry Minsky henry.minsky at gmail.com
Wed Nov 7 15:56:52 PST 2007


Yeah sounds like a bug for me. I'll file it and take a look.


On Nov 7, 2007 10:31 AM, Lou Iorio <liorio at laszlosystems.com> wrote:
> In Chapter 33. Extending Classes, example 33.8:
>
> <canvas height="50">
>   <class name="htmlText">
>     <attribute name="text" type="html"/>
>     <text resize="true" text="${parent.text}"/>
>   </class>
>
>
>   <simplelayout/>
>   <htmlText>
>     <b>bold</b> text declared here with
>     <a href="http://www.openlaszlo.org"><i>anchor</i></a>
>   </htmlText>
>   <htmlText text="&lt;b&gt;bold&lt;/b&gt; text set here"/>
> </canvas>
>
> to which the compiler says:
>
> class-inheritance-$12.lzx:9:13: The tag 'b' cannot be used as a child of
> htmlText
> class-inheritance-$12.lzx:9:13: The tag 'a' cannot be used as a child of
> htmlText
>
> I can't tell what's going on here, since the example seems to work.
>
>
>
>



-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com


More information about the Laszlo-dev mailing list