PATCH] [RHEL-7] Silence three 'Double hyphen within comment' RHEL-7 make shorthand2xccdf parser errors

Jeffrey Blank blank at eclipse.ncsc.mil
Mon Jan 13 05:14:42 UTC 2014


Great, please push (unless somebody else already said so!)

On Fri, Jan 10, 2014 at 9:52 AM, Jan Lieskovsky <jlieskov at redhat.com> wrote:
>
> Running 'make' / 'make shorthand2xccdf' on current RHEL-7 content returns:
>
> # make shorthand2xccdf
> xsltproc -o output/rhel7-shorthand.xml input/guide.xslt input/guide.xml
> input/services/ssh.xml:389: parser error : Double hyphen within comment: <!-- <ident cce="RHEL7-CCE-TBD" />
> <!
> <!-- <oval id="sshd_strengthen_firewall" /> -->
>   ^
> input/services/dhcp.xml:157: parser error : Double hyphen within comment: <!--<ident cce="RHEL7-CCE-TBD" />
> <ident cce="RHEL7-CC
> <!--<oval id="dhcp_server_minimize_served_info" /> -->
>   ^
> input/services/dhcp.xml:279: parser error : Double hyphen within comment: <!--<ident cce="RHEL7-CCE-TBD" />
> <!
> <!--<oval id="dhcp_client_restrict_options" /> -->
>   ^
>
> Fix the issues by adding missing enclosing comments (after
> the change 'make shorthand2xccdf' on RHEL-7 content doesn't
> issue errors anymore).
>
> Thank you && Regards, Jan.
> --
> Jan iankko Lieskovsky / Red Hat Security Technologies Team
>
> _______________________________________________
> scap-security-guide mailing list
> scap-security-guide at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide
>


More information about the scap-security-guide mailing list