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

>>> "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