[Laszlo-dev] Generate LZX Schema from js2doc output

Donald Anderson dda at ddanderson.com
Fri May 23 12:30:55 PDT 2008


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 ...?

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






More information about the Laszlo-dev mailing list