On Tue, 21 May 2002 00:12:16 -0500, "Ivelin Ivanov" <[EMAIL PROTECTED]> wrote:

> ----- Original Message -----
> From: "Ovidiu Predescu" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Monday, May 20, 2002 10:03 PM
> Subject: Re: Flow and XMLForm
> >
> > So there are three ways an XMLForm-like capability could be
> > implemented:
> >
> > - translate today's XPath-based Schematron to JavaScript scripts for
> > both client and server side
> >
> > - translate a constraint expression syntax, not based on XPath, to
> > JavaScript for client and server side
> >
> > - write the validation functions in JavaScript, same scripts being
> > used on the server and client side.
> >
> > I don't know about you, but the last approach looks to me being the
> > easiest one to implement (basically write your scripts). One problem I
> > see with it though is ties the validation to JavaScript, making it
> > difficult to support clients that don't run JavaScript, like browsers
> > on WML phones (although the language used is very similar).
> 
> Just a note in regard to client/server side validation.
> New generation browsers support XSLT.
> Which means that Schemtron validation can be run on the client as well.
> Haven't tried it myself.

Yes, but that doesn't solve the problem for current browsers that
don't support XSLT (Opera, Konqueror? etc.), or for older browsers,
which support JavaScript only, or WAP, iMode, and many other browsers
integrated in small devices. IMO Cocoon should be able to reach these
not so mainstream browsers as well. And do a good job at supporting
them, by providing the their users with the best possible user
experience.

> I am speculating that XML standards will be better supported in the long run
> than ECMAScript based languages.

Supporting standards usually takes a very long time, you cannot assume
everybody will support the latest standards. Even then, you still have
to support older browsers that don't adhere to the latest
standards. Just look at how many JavaScript versions and variations
are in today's Web browsers; it's a total mess! Nevertheless, good
service providers try to support them all.


Regards,
-- 
Ovidiu Predescu <[EMAIL PROTECTED]>

>>> I'm in the job market again, check out my resume and qualifications at:
http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to