[XML-DEV Mailing List Archive Home]
[Reply To This Message]
RE: reasons why an XML instance must be validated with a XML s
- From: "Michael Kay" <mike@s...>
- To: <ilangocal@y...>,<xml-dev@l...>
- Date: Tue, 9 Sep 2008 19:09:44 +0100
XML schema actually does more than validation: it can also
annotate and augment the document with type information, making it easier to
But if validation is your concern, it's the general
principle of software engineering: software components should define their
interfaces and at least be capable of failing cleanly if the constraints on the
interface are not satisfied.
If you have full trust between the components either side
of an interface then validation may be unnecessary. But experience suggests that
if you trust another piece of software to do the right thing then eventually you
will find your trust is misplaced.
|I just started working on a project that uses
JMS/WebSphere MQ with non-J2EE systems to build an enterprise system. We
would be using XML for all the request/response message flows that take
place between two system (for example, a JMS Listener and one or more
than one queues.|
I was posed with the following scenario: Our
Listener Module submits document requests in XML formatted data into an
input message queue monitored by a document generaton engine.
need for validating the XML naturally arises. Should the XML be
validated against an XML schema.
The question they raised was:
If so, why should we use XML schema
to validate XML?
So this is the question I am trying to
answer for myself and for my team here.
Any suggestions, ideas
| [Thread Prev]
| [Thread Next]
| [Date Next]
| [Thread Index]
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please