[Laszlo-dev] Generate LZX Schema from js2doc output

Henry Minsky henry.minsky at gmail.com
Fri May 23 12:53:04 PDT 2008


I forget why canvas wasn't supposed to be a view...

On Fri, May 23, 2008 at 3:30 PM, Donald Anderson <dda at ddanderson.com> wrote:

> In lfc.lzx there is:
>   <interface name="canvas" extends="Instance">
>
> but it looks like <canvas> really extends <view> ?
> Likewise there are many attributes listed on canvas, like:
>  <attribute name="bgcolor" type="color" value="white"/>
> which is really an attribute of <view>.  I guess this is historical?
> I assume we want the schema produced to be honest about this,
> or else what?
>
> Also there are are these tags:
>
> <interface name="canvas" extends="Instance">
>  ....
>  <containsElements>
>    <element>view</element>
>    <element>script</element>
>
> These are the items allowable within a canvas, right?
> I don't think we have a way to deduce that presently.
> Do we want to list these somewhere in the javadoc,
> for each class, or maintain a separate lzx that gets merged in,
> or ...?


Which would be easier to implement and maintain? I guess comments in the
class source files would be easier long term to maintain.



>
> On May 22, 2008, at 4:34 PM, P T Withington wrote:
>
>  Yes, the task is to compute the <interface> declarations that represent
>> the API of the LFC.
>>
>> On 2008-05-22, at 16:23 EDT, Donald Anderson wrote:
>>
>>  Tucker,
>>>
>>> I'd like to get started on this one:
>>> http://www.openlaszlo.org/jira/browse/LPP-3508
>>> Can I assume that the contents of the schema/lfc.lzx file represent all
>>> interfaces
>>> compiled via WEB-INF/lps/lfc/LaszloLibrary.lzs ?  That is, all lzs files,
>>> and no lzx?  If so,
>>> I think the best approach is to have an option to js2doc to do this.
>>>
>>> - Don
>>>
>>> --
>>>
>>> Don Anderson
>>> Java/C/C++, Berkeley DB, systems consultant
>>>
>>> voice: 617-547-7881
>>> email: dda at ddanderson.com
>>> www: http://www.ddanderson.com
>>>
>>>
>>>
>>>
>>>
>>
>
> --
>
> Don Anderson
> Java/C/C++, Berkeley DB, systems consultant
>
> voice: 617-547-7881
> email: dda at ddanderson.com
> www: http://www.ddanderson.com
>
>
>
>
>


-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20080523/f3f123b3/attachment.html


More information about the Laszlo-dev mailing list