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

SV: When to Validate XML?

  • From: "Jens Jakob Andersen, PDI" <jens.jakob.andersen@p...>
  • To: "Champion, Mike" <Mike.Champion@S...>, xml-dev@l...
  • Date: Tue, 06 Nov 2001 15:57:53 +0100

why validate xml
Hi Mike

Well, yes, I got out in the "rest of the world", (for normal info, I
worked with Software AG as a Tamino product manager before coming to the
Danish Post, where I work as Enterprise IT Systems Architect), where
we're solving problems, not fighting for Native XML vs. RDBMS stoerd
XML. (I know of companies using Oracle and IBM MQ Series to handle all
their XML with no problems and quite good performance....)

In this "Why validate XML scenario", I guess that what I intended to
write was:

* XML Schema (DTD) can be used to validate structural constraints on the
XML Documents.
* Semantic validation of XML documents must be done in the application
(that is until i.e. RDF-S, DAML+OIL as well as easy to use inference
engines become widely available and easy to use;-))

You write:
>If so, is that because the DB triggers/rules/etc. have too much of a
performance burden?

This depends heavily on the RDBMS and the way it is designed. For e.g
Oracle I can say that I've never experienced any performance problems
with the systems I've worked with.

So it is not a performance issue, it is a "Semantic Issue". There are
not any systems (that I know of) yet, than can validate the Semantics of
your data, only the structure. But this is great, validating the
structure, and having some easy top use tools for this (your RDBMS or a
validating parser), is a must before you can validate the Semantics of
the documents.

And again, at the time being, I do not know of any easy to use and
configure systems/tools, (besides building it into the application
logic) that offers validation of the Semantics of a document.

I hope that this helps to clarify the issue I raised, by changing the
question of "When to Validate XML" over to "Why Validate XML, and what
do we want to achieve by doing so".

Best regards

Jens Jakob Andersen

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-2011 All Rights Reserved.