From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-project@lists.gentoo.org
Cc: Gentoo Council <council@gentoo.org>
Subject: Re: [gentoo-project] Call for Agenda Items -- Council Meeting 2016-02-14
Date: Tue, 2 Feb 2016 22:40:46 +0000 [thread overview]
Message-ID: <robbat2-20160202T215823-917938453Z@orbis-terrarum.net> (raw)
In-Reply-To: <22193.7052.502722.462043@a1i15.kph.uni-mainz.de>
Several of these questions were already answered in the #gentoo-infra
chat that predated the mailing list discussion; I repeat the details
here because it dispels the other concerns.
On Tue, Feb 02, 2016 at 10:11:40PM +0100, Ulrich Mueller wrote:
> > I'd vote for XML-Schema as well, but if there are good transforms
> > available, i'll live with RNG.
> Conversion from RNG/RNC to XML-Schema can be done with app-text/trang,
> for example. The question (which I had asked in -dev a few days ago)
> is if there is a conversion tool for the opposite direction:
Is Trang still actively maintained by upstream? Last release looks like
2009? It also cannot convert FROM XML-Schema, only TO XML-Schema.
There is also MSV, dev-java/msv, with a last release in 2013.
> >>>>> On Wed, 27 Jan 2016, Ulrich Mueller wrote:
> > Emacs nXML mode supports only RNC. Do we have a tool (i.e. a package
> > in the tree) for automatic conversion from XML Schema to RNC?
> Since nobody has replied to this, I suppose that we have no such tool?
> That would be a strong argument for RNG as the source format.
All you need is xsltproc, which is part of libxslt/libxml.
XSL transform: XSD -> RNG
https://github.com/epiasini/xsdtorng
XSL Transform: XSD -> DTD
http://bsp.mits.ch/code/xslt/zxsd2dtd
http://crism.maden.org/consulting/pub/xsl/xsd2dtd.xsl
These two are very similar, differing only in a comment block warning
that some RNG/XML-Schema constraints cannot be represented in DTD.
Both Trang and MSV are also Java, whereas the XSLT transforms are usable
without Java.
--
Robin Hugh Johnson
Gentoo Linux: Developer, Infrastructure Lead, Foundation Trustee
E-Mail : robbat2@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
next prev parent reply other threads:[~2016-02-02 22:40 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-25 20:58 [gentoo-project] Call for Agenda Items -- Council Meeting 2015-11-08 Kristian Fiskerstrand
2015-10-25 22:14 ` [gentoo-project] " Ulrich Mueller
2015-10-26 7:47 ` Kristian Fiskerstrand
2015-10-26 12:52 ` Rich Freeman
2015-10-26 13:32 ` Kristian Fiskerstrand
2015-10-27 19:11 ` hasufell
2015-10-27 19:22 ` Ciaran McCreesh
2015-10-27 19:29 ` hasufell
2015-11-29 15:36 ` [gentoo-project] Call for Agenda Items -- Council Meeting 2015-12-13 Kristian Fiskerstrand
2015-11-29 16:08 ` Ulrich Mueller
2015-11-29 16:16 ` Ulrich Mueller
2015-11-30 16:20 ` Michał Górny
2015-12-27 16:50 ` [gentoo-project] Call for Agenda Items -- Council Meeting 2016-01-10 Justin Lecher (jlec)
2015-12-27 18:03 ` Ulrich Mueller
2016-01-07 3:12 ` Daniel Campbell
2016-01-07 9:29 ` Ulrich Mueller
2015-12-29 19:45 ` Michał Górny
2016-02-01 19:25 ` [gentoo-project] Call for Agenda Items -- Council Meeting 2016-02-14 Justin Lecher (jlec)
2016-02-02 8:06 ` Dirkjan Ochtman
2016-02-02 14:18 ` Justin Lecher (jlec)
2016-02-03 20:46 ` Dirkjan Ochtman
2016-02-04 8:51 ` Justin Lecher (jlec)
2016-02-02 15:25 ` Michał Górny
2016-02-02 20:55 ` Robin H. Johnson
2016-02-02 21:11 ` Ulrich Mueller
2016-02-02 22:40 ` Robin H. Johnson [this message]
2016-02-03 0:53 ` Ulrich Mueller
2016-02-04 10:07 ` [gentoo-project] Re: [gentoo-dev-announce] " Anthony G. Basile
2016-02-05 7:49 ` Daniel Campbell
2016-02-05 8:01 ` Daniel Campbell
2016-02-05 11:49 ` Anthony G. Basile
2016-02-05 12:01 ` Alexander Berntsen
2016-02-05 12:13 ` Rich Freeman
2016-02-05 12:22 ` Anthony G. Basile
2016-02-05 19:00 ` Daniel Campbell (zlg)
2016-02-05 19:03 ` Daniel Campbell (zlg)
2016-02-05 19:24 ` Ciaran McCreesh
2016-02-05 20:45 ` Rich Freeman
2016-02-05 21:21 ` Andreas K. Huettel
2016-02-05 23:12 ` Alexander Berntsen
2016-02-07 9:04 ` Santiago Ferreira
2016-02-09 1:23 ` Ian Delaney
2016-02-07 11:15 ` [gentoo-project] " Andrew Savchenko
2016-02-12 22:22 ` Michał Górny
2016-02-12 22:34 ` Anthony G. Basile
2016-02-13 0:44 ` Andreas K. Huettel
2016-02-13 8:30 ` Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=robbat2-20160202T215823-917938453Z@orbis-terrarum.net \
--to=robbat2@gentoo.org \
--cc=council@gentoo.org \
--cc=gentoo-project@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox