[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: Greg Stein <gstein_at_lyra.org>
Date: 2001-02-02 20:25:30 CET

On Fri, Feb 02, 2001 at 02:32:51AM -0600, Sam TH wrote:
> 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?

There should be only one root element, no matter what. I believe there is
supposed to be a delta-pkg element that wraps everything up.

> 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.

You're right. We wouldn't ever validate the XML; just check for
well-formedness. The software itself essentially performs the validation as
it handles the elements.

[ in fact, I have a general refusal to believe much in validation since the
  semantics and the DTD are effectively encoded in the stuff that processes
  the XML. ]

> 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.)

There is zero intent to stick with expat-lite. It should be replaced with
the real Expat distribution, much in the same way that we handle Neon. If
you want to do it sooner than later, please help! But it will be replaced
before we ship 1.0.


Greg Stein, http://www.lyra.org/
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.