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

Re: Parseable output: --xml option for more commands

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-01-19 17:14:23 CET

Julian Foad wrote:

> Leslie Kishalmi wrote:
>
>> +1 vote on first class element for filename. Something like this:
>> <entry
>> committed-date="2003-09-29T22:23:23.939789Z"
>> last-author="julianfoad"
>> kind="file"
>> size="7"
>> revision="35">eol-test</entry>
>
>
> Can you say why you would prefer it this way?

I think the rule of thumb should be that any data whose set of values we
can't know in advance should be in an element, not an attribute, for the
simple reason that attribute contents have more restrictions.

By this rule, the date, size, type and revision number can be
attributes, but file name and author cannot.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 19 17:14:09 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.