[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 witha XML sc
- From: Chin Chee-Kai <cheekai@s...>
- To: ilangocal@y...
- Date: Wed, 10 Sep 2008 01:27:49 +0800
ilango wrote:
667597.40210.qm@w..."
type="cite">
IThe question they raised was:
If so, why should we use XML
schema to validate XML?
|
Very good question indeed. It really takes full understanding of the
context of your project to give a good answer. But short of that, I'll
just venture to suggest that there's no imposed requirement by anybody
that your team SHOULD use XML schema for XML validation.
In high-speed memory critical embedded systems where the structure is
simple, chance of non-structural conformance is very little, but
validation speed must be very fast, for example, it is possible to
just check the essentials like tag name , type of data, range, etc on a
field-by-field basis.
On the other hand, in one-to-many XML exchanges with half-trusted or
yet-unknown bodies where messages are agreed and defined via XML
schema itself, then it may just be practically easier and more accurate
to validate against the defining XML schema. Examples are UBL schemas
for e-commerce exchanges.
Many situational factors lie in between, of course. I'd suggest asking
more related questions to nail down reasons that may be peculiar to
your team/project.
Regards,
Chin Chee-Kai
|
[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!
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
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.
|
|