Re: What is the logic of storing XML in a Database?
- From: "Cimode" <cimode@xxxxxxxxxxx>
- Date: 28 Mar 2007 07:51:39 -0700
On Mar 28, 3:43 pm, "Daniel" <danielapar...@xxxxxxxxx> wrote:
On Mar 28, 9:55 am, "Cimode" <cim...@xxxxxxxxxxx> wrote:I should have asked the question differently. In what does XML allow
On Mar 28, 1:21 pm, Bernard Peek <b...@xxxxxxxxxxxxxxxx> wrote:> On 2007-03->
Data can be validated before it's transmitted.
Does that mean that CSV data with a header can't be validated?
Of course not, an application at the endpoint can employ custom code
to check the contents of the file, using a custom description of the
flat file (the header isn't enough.) Or a vendor can define a
proprietary schema format for flatfiles and sell a proprietary tool
for validating a CSV file that conforms to the flat file.
validation? I thought XML was supposed to be used for transport?
But nobody can write and sell (or give away as open source) a CSVTools to do what again?
validator that validates an arbitrary CSV file against a standard
schema describing that CSV file, for the simple reason that no such
standard schema exists. No tools exist in this category, in contrast,
many such tools exist in the XML space.
The question should have been: what else does XML schema bring asValidation against a schema
will trap most major errors. It will trap most of the minor errors that
would normally require action by an expensive and extremely bored human being.
In what a header does constitute a schema.
If you're suggesting that the header in a CSV file is like an XML
Schema or a Relax NG Schema, then you clearly need to do some
homework.
oppose to a header?
That does not answer the question. This is a specific example of aCode to handle XML is standardised and therefore doesn't need to be
rewritten for each individual application. This makes it more reliable and
cheaper to develop and maintain.
How is standardized? What is a standard for coding XML?
Do you know about XML Schema? Do you know about domains like life
insurance that standardize on a schema such as ACCORD, so that they
have a standard way of representing data?
company that uses XML. I know many clients who totally ignore XML.
So you are saying that XML is more verbose than CSV right?It is difficult to extend CSV systems boyond the simple flat-file system
with a single record type. Traditionally, at least in the systems I've
worked with, the solution is to denormalise the data from more than one
table. Therefore CSV is usually more verbose than XML and can take up much
So what you are saying is that an XML file takes less space (less
verbose) than a flat CSV file?
This is the only point on which I would be inclined to differ from
Bernard :-)
Regards,
Daniel Parker
.
- Follow-Ups:
- Re: What is the logic of storing XML in a Database?
- From: Daniel
- Re: What is the logic of storing XML in a Database?
- References:
- What is the logic of storing XML in a Database?
- From: Karen Hill
- Re: What is the logic of storing XML in a Database?
- From: Daniel
- Re: What is the logic of storing XML in a Database?
- From: Aloha Kakuikanu
- Re: What is the logic of storing XML in a Database?
- From: Daniel
- Re: What is the logic of storing XML in a Database?
- From: David Cressey
- Re: What is the logic of storing XML in a Database?
- From: Bob Badour
- Re: What is the logic of storing XML in a Database?
- From: Marshall
- Re: What is the logic of storing XML in a Database?
- From: Daniel
- Re: What is the logic of storing XML in a Database?
- From: Cimode
- Re: What is the logic of storing XML in a Database?
- From: Bernard Peek
- Re: What is the logic of storing XML in a Database?
- From: Cimode
- Re: What is the logic of storing XML in a Database?
- From: Daniel
- What is the logic of storing XML in a Database?
- Prev by Date: Re: What is the logic of storing XML in a Database?
- Next by Date: Re: What is the logic of storing XML in a Database?
- Previous by thread: Re: What is the logic of storing XML in a Database?
- Next by thread: Re: What is the logic of storing XML in a Database?
- Index(es):
Relevant Pages
|