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

Re: svn commit: r1396744 - in /subversion/branches/http-dynamic-prop-namespaces/subversion/libsvn_ ra_serf: ra_serf.h xml.c

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Wed, 10 Oct 2012 15:40:37 -0400

On 10/10/2012 03:35 PM, Daniel Shahaf wrote:
> cmpilato_at_apache.org wrote on Wed, Oct 10, 2012 at 19:07:58 -0000:
>> + * Add the appropriate serf buckets to AGG_BUCKET representing xml tag open
>> + * with name TAG and attributes ATTRS. XML-escape attributes as necessary.
>
>> +svn_ra_serf__add_open_tag_attrs_buckets(serf_bucket_t *agg_bucket,
>> + serf_bucket_alloc_t *bkt_alloc,
>> + const char *tag,
>> + apr_hash_t *attrs);
>> +
> ...
>> + apr_hash_this(hi, &key, &klen, &val);
>> +
>> + tmp = SERF_BUCKET_SIMPLE_STRING(val, bkt_alloc);
>> + serf_bucket_aggregate_append(agg_bucket, tmp);
>
> It doesn't seem to be XML-escaping the value as promised in the
> docstring? (Maybe that's intended for a subsequent commit...?)

Heh. Copy-and-pasted that whole function from the one above it
(svn_ra_serf__add_open_tag_buckets), which promises the same but similarly
appears to not follow through. It would seem at first blush that this is a
bug on trunk, too, then. Thanks for pointing it out!

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

Received on 2012-10-10 21:41:12 CEST

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.