[Home] [By Thread] [By Date] [Recent Entries]

  • From: Kay Michael <Michael.Kay@i...>
  • To: "'KenNorth'" <KenNorth@e...>, XML-Dev Mailing list <xml-dev@x...>
  • Date: Mon, 10 Jul 2000 17:43:17 +0100

> << Doing the validation in a SAX Filter application that can 
> be inserted in front of any "real" application (and removed when the
sender 
> is sufficiently trusted) is an alternative that works very nicely.
> 
> That seems to assume the validation occurs only on receiving 
> a document.

On the contrary, the same SAX filter can be used between the application
that generates the XML data and the serializer. Though it's a slightly odd
thing to do: most applications trust themselves to produce valid output.

> What if I'm validating because I'm generating a document 
> using a PL/SQL procedure, a C++ program, a Perl script or whatever?

The only assumption being made is that you are prepared to structure the
application as a SAX pipeline.
> 
> How do I handle errors if I insert a Java server into the 
> process to do the validation? 
>
SAX doesn't have to mean Java. But it will certainly be easiest to do in a
single-language environment.

Mike Kay 

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member