[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [xml-dev] When to Validate XML?
- From: "Champion, Mike" <Mike.Champion@SoftwareAG-USA.com>
- To: firstname.lastname@example.org
- Date: Thu, 01 Nov 2001 12:17:40 -0500
> -----Original Message-----
> From: Subrahmanyam Allamaraju [mailto:email@example.com]
> Sent: Thursday, November 01, 2001 12:14 PM
> To: firstname.lastname@example.org
> Subject: Re: [xml-dev] When to Validate XML?
> So, there is some logic in
> the applications, and some more in the schemas. I don't see anything
> wrong in this - each of these validations may in fact be serving
> different purposes.
That's a good point. The XML validation might be an easy (well, easy once
end-user tools that support XML schemas mature) way of checking the easy
stuff with little programming effort, letting the programmers focus on the
more complex aspects of validation that require procedural code.
An XML database server might be the logical place for the XML-level
validation (perhaps when data is stored), and the application server the
logical place for the "business logic", "trusting" the XML database to serve
up schema-valid instances. (Not that any XML databases currently support
the W3C schema spec in all its glory, but this is definitely a direction for
many of us).