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

Re: Bug: Control char in commit message

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-12-05 02:10:49 CET

Peter Davis <peter@pdavis.cx> writes:

> Does apr_xml_quote_elem do a better job?

It's apr_xml_quote_string (_elem calls _string) that does the quoting,
and that is much like xml_escape except that it doesn't quote the '
character. You will find the code in apr-util/xml/apr_xml.c.

> Is there a reason why svn needs its
> own xml_escape function instead of using the apr (or expat) versions?

I guess that xml_escape was introduced in the days before Subversion
was using apr-util. The mod_dav_svn code appears to use
apr_xml_quote_string most of the time.

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 5 02:11:34 2002

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