Dangling "clustering" reference in comps-f21.xml.in

Jerry James loganjerry at gmail.com
Mon Jul 7 15:15:00 UTC 2014


On Mon, Jun 23, 2014 at 1:03 PM, Jerry James <loganjerry at gmail.com> wrote:
> There is a reference to a "clustering" group inside the "servers"
> category in comps-f21.xml.in, but no definition of "clustering"
> anywhere that I can see.  Also:
>
> [comps]$ make validate
> ...
> comps-f21.xml:46: element packagereq: Relax-NG validity error :
> Element packagereq failed to validate attributes
> comps-f21.xml:46: element packagereq: Relax-NG validity error :
> Element packagelist has extra content: packagereq
> comps-f21.xml:118: element packagereq: Relax-NG validity error :
> Element packagereq failed to validate attributes
> comps-f21.xml:118: element packagereq: Relax-NG validity error :
> Element packagelist has extra content: packagereq
> comps-f21.xml:73: element group: Relax-NG validity error : Invalid
> sequence in interleave
> comps-f21.xml:73: element group: Relax-NG validity error : Element
> group failed to validate content
> comps-f21.xml:73: element group: Relax-NG validity error : Expecting
> element environment, got group
> comps-f21.xml:73: element group: Relax-NG validity error : Element
> comps has extra content: group
> comps-f21.xml fails to validate
> ...
>
> Is that output expected?  I see similar output from comps-el4.xml,
> comps-el5.xml, comps-f18.xml, comps-f19.xml, and comps-f20.xml as
> well.

Neither of these has been fixed, and we're about to branch, which will
spread the rot to yet another comps file.  For the second problem, the
output of "jing -i comps.rng comps-f21.xml" seems a bit more
comprehensible:

comps-f21.xml:46:19: error: element "packagereq" missing required
attribute "type"
comps-f21.xml:47:19: error: element "packagereq" missing required
attribute "type"
comps-f21.xml:48:19: error: element "packagereq" missing required
attribute "type"
...
comps-f21.xml:512:19: error: element "packagereq" missing required
attribute "type"
comps-f21.xml:516:11: error: element "group" incomplete; missing
required elements "default" and "uservisible"
comps-f21.xml:543:19: error: element "packagereq" missing required
attribute "type"
...
comps-f21.xml:17630:19: error: element "packagereq" missing required
attribute "type"
comps-f21.xml:18405:25: error: character content of element "id"
invalid; must be an XML name without colons
comps-f21.xml:18518:31: error: found attribute "default", but no
attributes allowed here
comps-f21.xml:18691:31: error: found attribute "default", but no
attributes allowed here
comps-f21.xml:18692:31: error: found attribute "default", but no
attributes allowed here

The following comps files are currently failing to validate due to
these and similar issues:
comps-el4
comps-el5
comps-epel7
comps-f18
comps-f19
comps-f20
comps-f21

Regards,
-- 
Jerry James
http://www.jamezone.org/


More information about the devel mailing list