W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2002

Re: [Schematron-love-in] the best solution

From: Mr Frank Silbermann <SILBERFR@CNRF.NAVY.MIL>
Date: Tue, 25 Jun 2002 10:21:49 -0400 (EDT)
Message-Id: <sd183601.051@>
To: <erobertsson@allette.com.au>, <vdv@dyomedea.com>, <schematron-love-in@lists.sourceforge.net>, <xpipe-users@lists.sourceforge.net>, <ohaddad@neomalogic.com>, <Michael.Kay@softwareag.com>, <xmlschema-dev@w3.org>

>>> "Othman Haddad" <ohaddad@neomalogic.com> 06/25/02 09:07AM >>>
> the processing and validation of an xml document on the server side in an
> assembly line is really interesting (i mean something like: 
> xm document->Schema w3c validation->Schematron validation->databinding to
> java...)

I am trying to do something like this.

> the problem is: if i want to check for validation just behind the browser
> where i write my xml document, i don't find any other way than doing using
> javascript...

I don't think anyone has implemented Schematron or XSLT in Javascript.
How do you write an XML document on a browser, anyway?

In my application the date comes from a form, which results in a servlet request
object, not an XML file.  The servelet has to create the XML file from the servlet
request object, so the same servlet can then call for validation.  If valid, it can
then pass the data from the servlet request object, as XML or in some other form,
to the back end.

> so is there anyway to check for validation in the browser using Schema W3C
> and Schematron before sending the xml to the server?

If you absolutely must validate on the browser, I cannot think of any way to do
this except maybe via a Java applet.
Received on Wednesday, 26 June 2002 03:51:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:57 UTC