I'd like a javascript client xsd validator as well... I've not found any
in a little searching.  A half-way approach to validating in the laszlo
client or the originating server would be to validate in the laszlo
server in proxy mode.  There are java classes to do what you need, you'd
just have to build the hooks into lps.  As long as you had some way to
flag that a request should be validated, you'd save that extra round
trip, as the data has to pass through lps anyways.


On Wed, 2008-05-28 at 19:32 -0400, Gilad Parann-Nissany wrote:
> yes we can do both client and server; and since client cannot be done
> (based on the answer from Henry in this list) we may do server
> validation. However client validation is nice since it may save a
> round trip... so I guess its a future feature possibility.
> 
> Gilad
> 
> 
> ----- Original Message -----
> From: "jamesr" <[EMAIL PROTECTED]>
> To: "Gilad Parann-Nissany" <[EMAIL PROTECTED]>,
> "laszlo-user list" <[email protected]>
> Sent: Thursday, May 29, 2008 2:27:57 AM (GMT+0200) Auto-Detected
> Subject: Re: [Laszlo-user] XSD support when getting XML data
> 
> 
> 
> Is it so important that it happen on the client? Wouldn't it be just
> as good to use some WSDL or somesuch filter to validate the outgoing
> XML on the server --  or do you not have control of that? 
> 
> 
> 
> 
> 
> On May 28, 2008, at 5:11 PM, Gilad Parann-Nissany wrote:
> 
>         Hi Laszlo Users
>         
>         We want our XML data (fetched from the server, and ends up in
>         the end inside datasets on the client) to be validated using
>         XSD on the OL client. We'd like to add the usual XSD header at
>         the head of the XML.
>         
>         There is some unclarity whether this can work on a Laszlo
>         based client. Could you comment will this work - and how - if
>         
>               * the API is actually XML-RPC based and we are using SWF
>                 not AJAX (we recall that the XML is actually packaged
>                 into a SWF)
>               * the API is REST-based; still using SWF on the client
>                 not AJAX
>         
>         Thanks
>         
>         Gilad
>         
>         
>         -- 
>         __________________________________
>         Gilad Parann-Nissany
>         VP Products
>         http://g.ho.st/
>         Skype: gilad.parann.nissany
>         Mobile: +972 54 22 77 165
>         
>         
>         
> 
> 
> 
> 
> -- 
> __________________________________
> Gilad Parann-Nissany
> VP Products
> http://g.ho.st/
> Skype: gilad.parann.nissany
> Mobile: +972 54 22 77 165
-- 
Jesse Norell
Kentec Communications, Inc.
[EMAIL PROTECTED]

Reply via email to