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

Re: svn commit: r14624 - trunk/subversion/mod_dav_svn

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-05-09 13:50:25 CEST

kfogel@collab.net wrote:

>brane@tigris.org writes:
>
>
>>Log:
>>Remove the <prop> element from mod_dav_svn's XML DTD for GET. It's not
>>used and never will be, according to policy.
>>
>>* subversion/mod_dav_svn/repos.c (dav_svn_deliver): Change the DTD,
>> comments, and geneated <dir> and <file> elements.
>>
>>--- trunk/subversion/mod_dav_svn/repos.c (original)
>>+++ trunk/subversion/mod_dav_svn/repos.c Sun May 8 03:41:08 2005
>>
>>[...]
>>
>>@@ -2375,11 +2371,11 @@
>> else
>> {
>> const char *const tag = (is_dir ? "dir" : "file");
>>-
>>+
>> /* ### This is where the we could search for props */
>>
>> ap_fprintf(output, bb,
>>- " <%s name=\"%s\" href=\"%s\"></%s>\n",
>>+ " <%s name=\"%s\" href=\"%s\" />\n",
>> tag, name, href, tag);
>> }
>> }
>>
>>
>
>Was this changed to a self-closing element because we know we'll never
>put "<prop>" elements inside it in the future?
>
>
Yup.

>If so, shouldn't the comment above it go away too?
>
>
Why? The comment's true, isn't it? :)

>Or if not, then why was it changed to self-closing?
>
>
Because the DTD has changed, so strictly speaking, it has to be that way.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon May 9 13:51:23 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.