<html><head><style type='text/css'>body { font-family: 'Verdana'; font-size: 10pt; color: #000000}</style></head><body><P>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.</P>
<P>Gilad</P>
<P><BR>----- Original Message -----<BR>From: "jamesr" <circlecycle@gmail.com><BR>To: "Gilad Parann-Nissany" <gilad.parann.nissany@g.ho.st>, "laszlo-user list" <laszlo-user@openlaszlo.org><BR>Sent: Thursday, May 29, 2008 2:27:57 AM (GMT+0200) Auto-Detected<BR>Subject: Re: [Laszlo-user] XSD support when getting XML data<BR><BR></P>
<DIV style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space">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?
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV><BR>
<DIV>
<DIV>On May 28, 2008, at 5:11 PM, Gilad Parann-Nissany wrote:</DIV><BR class=Apple-interchange-newline>
<BLOCKQUOTE><SPAN class=Apple-style-span style="WORD-SPACING: 0px; FONT: 12px Arial; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0">
<DIV style="FONT-SIZE: 10pt; COLOR: rgb(0,0,0); FONT-FAMILY: Verdana">
<P>Hi Laszlo Users</P>
<P>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.</P>
<P>There is some unclarity whether this can work on a Laszlo based client. Could you comment will this work - and how - if</P>
<UL>
<LI>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)</LI>
<LI>the API is REST-based; still using SWF on the client not AJAX</LI></UL>
<P>Thanks</P>
<P>Gilad</P>
<P><BR>--<SPAN class=Apple-converted-space> </SPAN><BR>__________________________________<BR>Gilad Parann-Nissany<BR>VP Products<BR><A href="http://g.ho.st/" target=_blank>http://g.ho.st/</A><BR>Skype: gilad.parann.nissany<BR>Mobile: +972 54 22 77 165<BR></P></DIV></SPAN></BLOCKQUOTE></DIV><BR></DIV></DIV><BR><BR>-- <BR>__________________________________<BR>Gilad Parann-Nissany<BR>VP Products<BR>http://g.ho.st/<BR>Skype: gilad.parann.nissany<BR>Mobile: +972 54 22 77 165<BR></body></html>