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

On Nov 7, 2007 10:31 AM, Lou Iorio <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]

Reply via email to