Having messed with XSD recently (i'd never had the need before) i can say it's pretty cool - and if some day there is a javascript implementation - even if it would be alot of code - it would be very cool to have client validation as a universal validator for form input, say.

Like the idea, so thanks for sharing.


On May 28, 2008, at 7:32 PM, 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

Reply via email to