[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: reasons why an XML instance must be validated with a XML s

  • From: "Mukul Gandhi" <gandhi.mukul@g...>
  • To: ilangocal@y...
  • Date: Tue, 9 Sep 2008 22:54:31 +0530

Re:  reasons why an XML instance must be validated with a XML s
When XML data is shared (transmitted) between two parties (a sender
and a receiver), the parties usually agree on the Schema of the XML
data. I guess, you know what a Schema is (which Philippe also wrote)..

So if the sender is sending XML data to receiver, then by validating
XML data before sending gives confidence to the sender that it is
sending the correct (i.e., valid data, conforming to the Schema) data.

While the receiver validates data before consuming (or realizing
business benefit out of it) is because, then the receiver has
confidence that it is consuming the correct (valid) data.

On Tue, Sep 9, 2008 at 8:35 PM, ilango <ilangocal@y...> wrote:
> 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.
> The 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 are gratefully accepted.
>
> thanks
> ilango


-- 
Regards,
Mukul Gandhi


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

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 click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.