[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: --xml on all svn commands

From: Lieven Govaerts <lgo_at_mobsol.be>
Date: 2005-09-28 10:40:51 CEST

Quoting Julian Reschke <julian.reschke@gmx.de>:

> Lieven Govaerts wrote:
> > The main disadvantage of DTD's is the lack of declaration of the data
> types,
> > every piece of data is a string and that's it. That may not be important
> > for users reading the generated xml, but it sure is for applications
> > reading and parsing the xml.
>
> So are you talking about automated code generation? Otherwise I don't
> see how it matters *how* the recipient learns that something is - for
> instance - an integer.
>
No, I'm talking about:
1. Efficiency of storage: why would I want to store a string in say an RDBMS
when I could store an integer?
2. Validation: if the recipient is dependent on a certain field containing only
integers, then that should be defined in the contract that recipient has with
the supplier, ie the schema definition.

We had this discussion before some time ago. My point here is not to get rid
of DTD, but to add XSD ( or RelaxNG ) for those we need it. If someone ( Peter?
) is creating RelaxNG files that can be converted to XSD files that's great.
In the meantime I'll keep mine uptodate.

regards,

Lieven.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 28 10:42:19 2005

This is an archived mail posted to the Subversion Dev mailing list.