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

Re: Some XML Questions

From: Ben Collins-Sussman <sussman_at_newton.collab.net>
Date: 2001-02-02 13:43:08 CET

Sam TH <sam@uchicago.edu> writes:

> 1) Should the DTD cover the postfix delta format? I ask because it
> isn't really possible, not without adding another root element outside
> tree-delta?

I believe this DTD already exists. Check the mail archive:

http://subversion.tigris.org/subversion-dev/6/msg00171.html

Perhaps it's not part of the source tree though... we could fix this.

>
> 2) (Random and pedantic) Does SVN_ERR_MALFORMED_XML represent
> non-well-formed XML (as the name indicates) or invalid XML (as the
> comment immediately preceding indicates)? It's unlikely that
> subversion will actually validate the XML, since it's using expat,
> which has no plans to become a validating parser.

Right, expat only checks for well-formed XML. Validation isn't
possible with expat, and we don't care much.

> 3) Speaking of expat, since the subversion project began, expat has
> undergone a number of radical changes. It is now autoconfiscated, and
> libtoolized. It builds a shared library, and does other nice things.
> Would people be interested in changing to the newer version? (Yeah, I
> am volunteering for the work.)

Um... our XML needs are pretty lightweight. If we switch to the
"real" expat, I see a big disadvantage: we now depend on *another*
external package (it's already annoying enough that we have to
manually fetch APR and Neon to build). As it is, it's convenient to
have expat-lite as a permanent part of our tree, and it's perfectly
sufficient for what we're doing.

That said, what are the pros of upgrading? I can't think of any.
Received on Sat Oct 21 14:36:21 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.