[Laszlo-dev] <datapath> isn't allowed on the canvas
Philip Romanik
promanik at laszlosystems.com
Tue Nov 6 07:15:14 PST 2007
Somebody with more knowledge about data handling should make this
call. I think it's an error because it will crash swf if defined at top-level.
>Would you like it to generate a warning, or compiler error?
>
>On 11/6/07, Philip Romanik
><<mailto:promanik at laszlosystems.com>promanik at laszlosystems.com> wrote:
> > Hi Henry,
> >
> > This bug,
> <http://jira.openlaszlo.org/jira/browse/LPP-3767>http://jira.openlaszlo.org/jira/browse/LPP-3767,
> is
> > generated because a user can create a <datapath> tag on the canvas.
> > Is it possible to fix this in the schema?
> > A datapath isn't allowed on the canvas. The test case come from LPP-2089:
> >
> >
> > <canvas>
> > <dataset name="test">
> > <item>first</item>
> > <item>second</item>
> > </dataset>
> >
> > <datapath id="dp" xpath="test:/item"/>
> > <handler name="oninit">
> > Debug.write(dp);
> > </handler>
> > </canvas>
> >
> >
> > This crashes swf, and generates errors in dhtml. If this can't be
> > handled by the schema, I'll handle it in the LFC.
> >
> > Thanks!
> >
> > Phil
> >
> >
>
>
>--
>Henry Minsky
>Software Architect
><mailto:hminsky at laszlosystems.com>hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20071106/854c5849/attachment.html
More information about the Laszlo-dev
mailing list