That fixed it, I think there's a typo in the workbook because on page 30 and 31 it is
spelled "rational".
Thanks!
Luke Kordell
________________________________________
From: scap-security-guide-bounces(a)lists.fedorahosted.org
[scap-security-guide-bounces(a)lists.fedorahosted.org] on behalf of Shawn Wells
[shawn(a)redhat.com]
Sent: Tuesday, October 08, 2013 9:06 PM
To: scap-security-guide(a)lists.fedorahosted.org
Subject: EXTERNAL: Re: workbook question
On 10/8/13 1:12 PM, Kordell, Luke T wrote:
Hello I am trying to follow the SCAP workbook and I got to the rule creation portion on
page 29. I've copied the code as instructed but I'm getting an Invalid Checklist
content in out/put/unlinked-unresolved-rhel6-xccdf.xml error. Just to make sure this
wasn't an erroneous error I checked to see if the html guide had been regenerated and
it hadn't. I am including an attachment that has the added rule at the bottom. My
initial thought was that I used the guide tags incorrectly, but none of the changes I made
ended up working. Any ideas of what I might be doing wrong?
Thanks!
Luke Kordell
......
<Rule id="package_scap-security-guide_installed"
severity="high">
<title> Install SCAP Security Guide </title>
<description> The SCAO Security Guide may be installed by first enabling the SSG YUM
repository. This can be accomplised by running...
</description>
<ocil clause="SCAP Security Guide is not installed">
<package-check-macro package="scap-security-guide" />
</ocil>
<rational>
Because Joe said to
</rational>
<oval id="package_scap-security-guide_installed" />
</Rule>
.....
Hmm, yes, this easter egg would likely be super frustrating to those not taking taking
this in person... =/
Context check "rational vs rationale," especially which other <Rule>'s
use.
The error is being thrown by `make validate`, which will check XML schemas. The coursebook
purposefully uses the wrong XML tag to expose/remind developers of `make validate`
s/rational>/rationale>/r