Commit Graph

24 Commits

Author SHA1 Message Date
Zbigniew Jędrzejewski-Szmek
536249203e relaxng: allow arch= for <optionlist>
comps-eln.xml uses that. I assume this use is accepted by other tools.
2022-07-11 20:44:06 +00:00
Zbigniew Jędrzejewski-Szmek
27dbb3b62a relaxng: deduplicate definition of arch= 2022-07-11 20:44:06 +00:00
Zbigniew Jędrzejewski-Szmek
8c64068fe2 relaxng: mark group <description>s as optional
Various groups used in comps-eln*.xml.in don't have descriptions.
I assume that this is on purpose because they are marked as
<uservisible>false</uservisible>.

An alternative would be to add <_description>s everywhere, but then
we'd also need to do translations.
2021-12-03 12:32:38 +01:00
Zbigniew Jędrzejewski-Szmek
b4f7e942b2 relaxng: add 'arch' attr for <group/category/environment>
I assume it has the same meaning as for <packagereq> where it was
allowed previously.
2021-12-03 12:32:38 +01:00
Zbigniew Jędrzejewski-Szmek
2d61d02cbf relaxng: add 'variant' attr for <group/packagereq/category/environment>
It was initially introduced in 3b8033b30a.
I don't know what it does, but since it is fairly widely used, let's
assume that it is read by something. Let's add it to the schema so
that validation passes.
2021-12-03 12:32:38 +01:00
Lubomír Sedlář
01f79df1ef Fix indentation in environment definition
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-05-18 14:43:57 +02:00
Lubomír Sedlář
b6b0e337c1 Change group ID type to string
3d-printing is not a valid ID because it starts with a digit

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-05-18 14:43:57 +02:00
Lubomír Sedlář
3801eb3dca Add optional default attribute to groupid
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-05-18 14:43:57 +02:00
Lubomír Sedlář
4b33467a95 Define arch attribute on packagereq
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-05-18 14:43:57 +02:00
Lubomír Sedlář
b960a7772a Mark type attribute on packagereq as optional
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-05-18 14:43:57 +02:00
Lubomír Sedlář
c1d12bd3d1 Add definition for metapkg
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-05-18 14:43:57 +02:00
Lubomír Sedlář
90badc6639 Make default and uservisible elements optional in group
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-05-18 14:43:57 +02:00
Jens Petersen
b23ae47a1f comps.dtd, comps.rng: add environment and optionlist 2014-02-17 10:47:27 +09:00
Bill Nottingham
a0b0894f9d Fix RNG file for langpacks (#689755) 2011-03-22 11:26:19 -04:00
Bill Nottingham
479cbbcaf3 Packagelists can be empty. 2011-03-22 11:26:19 -04:00
Will Woods
1c49c26001 Doc change for groupreq and minor whitespace change 2009-07-07 21:01:20 +00:00
Seth Vidal
2f5f1ad8d9 allow any order on category elements 2008-11-20 22:10:10 +00:00
Seth Vidal
c14db383e7 redefine booleans :) 2008-11-20 21:57:54 +00:00
Seth Vidal
75e5f4f739 fix ordering on comps entries in rng 2008-11-20 21:53:03 +00:00
Will Woods
3743ab3cfa fix documentation for whiteout 2008-07-22 19:10:30 +00:00
Will Woods
c69b88aa52 Fix up whiteout/blacklist schema - add forgotten <whiteout><blacklist> elements, ignore ordering 2008-07-22 18:49:45 +00:00
Will Woods
c00ee9e6c5 Add schema for <whiteout> and <blacklist> 2008-07-21 18:49:49 +00:00
Will Woods
ad935fcbc1 Drop metapkg (we don't use it in Fedora), validate .xml.in too 2008-06-26 21:45:04 +00:00
Will Woods
1d7d9e5e48 Add comps.rng - a Relax-NG schema for comps. 2008-06-26 19:16:18 +00:00