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

Jan Lieskovsky jlieskov at redhat.com
Fri Jan 10 14:52:49 UTC 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-RHEL-7-Silence-three-Double-hyphen-within-comment-RH.patch
Type: text/x-patch
Size: 1919 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/scap-security-guide/attachments/20140110/58eec4a0/attachment.bin>


More information about the scap-security-guide mailing list