[Laszlo-dev] getting close on xml schema builder

Donald Anderson dda at ddanderson.com
Wed Oct 22 11:53:42 PDT 2008


Thanks, Henry!

For the second problem, I only observed it in Safari, not Firefox,
and not when I sent my Safari request through a proxy.
Just cleared my safari cache and the problem is gone.
So I won't worry about that.

Will package this up now for a review...

- Don

On Oct 22, 2008, at 2:22 PM, Henry Minsky wrote:

> I think the declaration for setter should be as it is in trunk,  
> defined on "node", because only nodes
> can have setters.  In trunk <node> is declared to permit these child  
> tags
>
>   <containsElements>
>     <element>attribute</element>
>     <element>event</element>
>     <element>method</element>
>     <element>setter</element>
>     <element>handler</element>
>     <element>doc</element>
>     <element>node</element>
>     <element>passthrough</element>
>   </containsElements>
>
> On Wed, Oct 22, 2008 at 2:19 PM, Henry Minsky  
> <henry.minsky at gmail.com> wrote:
> I see one bug, the declaration for <class> in the lfc.lzx
>
>  <interface extends="node" name="class">
>       <element>setter</element>
>
> Needs to be inside of  a <containsElements> block.
>
>
>
>
> On Wed, Oct 22, 2008 at 11:51 AM, Donald Anderson  
> <dda at ddanderson.com> wrote:
> Henry (or anyone),
>
> I want to make a final push on getting the xml schema in.
> I have two issues holding me up that I'd love some help on:
>
> When I run various applications like weather under DHTML, I get  
> warnings like this:
>
>   base/baselistitem.lzx:5:100: The tag 'setter' cannot be used as a  
> child of class
>   base/basetabslider.lzx:11:42: The tag 'setter' cannot be used as a  
> child of class
>   lz/edittext.lzx:24:30: The tag 'setter' cannot be used as a child  
> of class
>
> I didn't see 'setter' listed as an element under 'class' in the  
> original lfc.lzx, and I even
> inserted it in mine, to no avail.
>
> The other problem I see, when I run weather with no parameters, e.g.
>    http://127.0.0.1:8080/trunk-d/demos/weather/weather.lzx
>
> I just see the source file, that is, the contents of weather.lzx.
> This doesn't happen if I add any (even bogus) parameter. e.g.
>
>   http://127.0.0.1:8080/trunk-d/demos/weather/weather.lzx?foo=bar
>
> displays fine (although with warnings).  This behavior (showing the  
> source file) doesn't
> happen when I run without my changes.
>
> Any ideas on either of these issues?
>
> Thanks!
>
> - Don
>
> --
>
> 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
>
>
>
>
>
> -- 
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
>
>


--

Don Anderson
Java/C/C++, Berkeley DB, systems consultant

voice: 617-547-7881
email: dda at ddanderson.com
www: http://www.ddanderson.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20081022/538d895f/attachment-0001.html


More information about the Laszlo-dev mailing list