You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Jim Blandy <ji...@savonarola.red-bean.com> on 2000/10/12 18:10:29 UTC
property values are kind of broken
BTW, our current XML format for property deltas (which I wrote) is
broken: it doesn't allow property values to contain arbitrary data. I
think that's pretty important. We'll need to fix it at some point.
Greg S., I assume the DAV stuff allows property values to be arbitrary
binary data, right?
Re: property values are kind of broken
Posted by Greg Stein <gs...@lyra.org>.
On Thu, Oct 12, 2000 at 09:57:58PM -0500, Karl Fogel wrote:
> Greg Stein <gs...@lyra.org> writes:
> > Oh, geez. Absolutely.
> >
> > They'll get passed into libsvn_ra_* in "native" form. The RA library
> > [selected] will encode as necessary.
> >
> > I imagine that I'd just blindly encode all prop values in base64 using the
> > routines OtherGreg ( :-) ) is writing.
>
> Please, that's "other_greg".
hehe... you're right. What was I thinking? I've been sitting near this damn
Windows box too much. Gotta wipe it and install Linux. That might cure me.
Cheers,
greg_stein
--
Greg Stein, http://www.lyra.org/
Re: property values are kind of broken
Posted by Karl Fogel <kf...@galois.collab.net>.
Greg Stein <gs...@lyra.org> writes:
> Oh, geez. Absolutely.
>
> They'll get passed into libsvn_ra_* in "native" form. The RA library
> [selected] will encode as necessary.
>
> I imagine that I'd just blindly encode all prop values in base64 using the
> routines OtherGreg ( :-) ) is writing.
Please, that's "other_greg".
Re: property values are kind of broken
Posted by Greg Stein <gs...@lyra.org>.
On Thu, Oct 12, 2000 at 09:01:12PM -0500, Karl Fogel wrote:
> Greg Stein <gs...@lyra.org> writes:
> > Property values in DAV are "well-formed XML fragments." So arbitrary data
> > will need to be encoded.
>
> Can we make encoding them part of the ra_dav library's job, so that
> callers never know this happens? After all, they shouldn't have to
> know things about how the network layer is transmitting prop data.
Oh, geez. Absolutely.
They'll get passed into libsvn_ra_* in "native" form. The RA library
[selected] will encode as necessary.
I imagine that I'd just blindly encode all prop values in base64 using the
routines OtherGreg ( :-) ) is writing.
Cheers,
-g
--
Greg Stein, http://www.lyra.org/
Re: property values are kind of broken
Posted by Karl Fogel <kf...@galois.collab.net>.
Greg Stein <gs...@lyra.org> writes:
> Property values in DAV are "well-formed XML fragments." So arbitrary data
> will need to be encoded.
Can we make encoding them part of the ra_dav library's job, so that
callers never know this happens? After all, they shouldn't have to
know things about how the network layer is transmitting prop data.
Re: property values are kind of broken
Posted by Greg Stein <gs...@lyra.org>.
On Thu, Oct 12, 2000 at 01:10:29PM -0500, Jim Blandy wrote:
>
> BTW, our current XML format for property deltas (which I wrote) is
> broken: it doesn't allow property values to contain arbitrary data. I
> think that's pretty important. We'll need to fix it at some point.
>
> Greg S., I assume the DAV stuff allows property values to be arbitrary
> binary data, right?
Property values in DAV are "well-formed XML fragments." So arbitrary data
will need to be encoded.
Cheers,
-g
--
Greg Stein, http://www.lyra.org/