[Laszlo-dev] compilation errors

P T Withington ptw at pobox.com
Wed Nov 7 07:49:25 PST 2007


Looks like a bug in Henry's new validator scheme.

On 2007-11-07, at 10:31 EST, Lou Iorio 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.
>
>
>



More information about the Laszlo-dev mailing list