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

Re: XML Schema (.xsd)

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Fri, 16 Sep 2011 12:44:45 +0100

Adrian Smith wrote:
> I am looking for .xsd format schema for the latest build of
> subversion. [...]
>
> I have found the path (subversion/svn/schema) wich contains the rnc
> files and a referance to building the xsd files in the Makefile.in
> (http://svn.apache.org/repos/asf/subversion/trunk/Makefile.in).
>
> What I was wondering is how would I go about using the version I
> downloaded and only building these files? (Not compiling all of svn as
> I do not have half of the stuff required installed).

Hi Adrian. I believe all you need is the "trang" program [1] and a copy
of the *.rnc files, and to run it like this:

  $ cd subversion/svn/schema/
  $ trang blame.rnc blame.xsd
  $ trang diff.rnc diff.xsd
  etc.

[1] <http://www.thaiopensource.com/relaxng/trang.html> and
<http://code.google.com/p/jing-trang/>.

- Julian
Received on 2011-09-16 13:45:23 CEST

This is an archived mail posted to the Subversion Dev mailing list.