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

Re: svndiff and XML

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2000-10-11 04:23:03 CEST

>>... the byte 0 and high-bit-on bytes ...

> Yup. Can't put those in. You also cannot include "<", ">", "&", and
> sometimes the single/double quote characters.

> This has been a known problem, and embedding this kind of text
> within XML means that you must quote the stuff. Yes, it is
> expensive.

This comment seems to miss the point (although the rest of the
messages suggests you may have gotten the point; I'm not sure). You
can transport data including <>&'" through XML by quoting it; you
simply can't transport data including zero bytes; "&#0;" is not
well-formed.

Thus the need to superencode the data.

> Strip down the file that I just sent to what is needed.

That implementation assumes the data to be encoded or decoded is all
present at once, which is not the case for what we're doing. So, I
could borrow a few lines of code to do the easy part, but I still have
to deal with all the irritating edge cases.
Received on Sat Oct 21 14:36:10 2006

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.