Hi Julian,
I was having trouble converting the .xsd I had created on diff.xsd so
wondered where I could get pre-built versions. But just figured out that its
because of a comment that the tool craps itself on:
For "svn diff --summarize --xml"
It expects --> as soon as it sees a - chr, so deleting that comment works.
Sorry for the un-necessary e-mail.
-Adrian
--------------------------------------------------
From: "Julian Foad" <julian.foad_at_wandisco.com>
Sent: Friday, September 16, 2011 12:44 PM
To: "Adrian Smith" <adrian.smith_at_lightningfishgames.com>
Cc: <dev_at_subversion.apache.org>
Subject: Re: XML Schema (.xsd)
> 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 14:02:27 CEST