Gentoo Archives: gentoo-dev

From: Paul de Vrieze <pauldv@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Questions about XML files used in portage
Date: Tue, 27 Sep 2005 10:28:36
Message-Id: 200509271226.09594.pauldv@gentoo.org
In Reply to: Re: [gentoo-dev] Questions about XML files used in portage by "Petteri Räty"
1 On Tuesday 27 September 2005 10:09, Petteri Räty wrote:
2 > Paul de Vrieze wrote:
3 > > WXS is W3C Xml Schema, so yes. The problem though is that the DTD and the
4 > > schema must be compatible on some level.
5 > >
6 > > Paul
7 >
8 > This is not really a problem because you can validate xml files against
9 > both a DTD and a schema. When you are making the schema you just make
10 > sure that it has everything that he dtd says and then some more defined
11 > restrictions on top of it. I have also written a couple of schemas in
12 > the past so I can offer help if needed.
13
14 What I mean is that documents passing one of the restrictions will not
15 necessarilly pass the other one. I'll go to at least write one though.
16
17 Paul
18
19 --
20 Paul de Vrieze
21 Gentoo Developer
22 Mail: pauldv@g.o
23 Homepage: http://www.devrieze.net