This code:
<canvas>

  <class name="asanaview">
    <attribute name="asana"/>
    <attribute name="img"/>

    <view bgcolor="blue" width="300" height="200">

      <simplelayout axis="y" spacing="4"/>

      <text bgcolor="green">${this.name}</text>
      <view width="${parent.width}" stretches="both"
resource="${this.img}"/>

    </view>

  </class>

  <asanaview asana="Sleeping Swan" img="
http://www.yinyoga.com/ys2_2.0_asanas_swan_sleeping.php"/>

</canvas>


is failing on the line
<asanaview asana="Sleeping Swan" img="
http://www.yinyoga.com/ys2_2.0_asanas_swan_sleeping.php"/>


with the message:
../../my-apps/yin-yoga-works/asanaview_class.lzx:18:108: Syntax error: the
token "Swan" was not expected at this position.

Reply via email to