[PATCH 0/3] refactoring of XCCDF generation

Jeffrey Blank blank at eclipse.ncsc.mil
Fri Aug 2 14:33:27 UTC 2013


This simplifies (maybe) the translation of the fragments
into XCCDF.  

Now:
Assembly of the fragments happens in one place: guide.xslt.
Translation of the shorthand into XCCDF happens in one place: shorthand2xccdf.xslt.

Basically, adding Profiles and resolving namespaces have been folded into
those transforms.

Jeffrey Blank (3):
  removing calls to now-unnecessary transforms
  added comment, added calls to insert Profiles
  moved namespace assignment into shorthand2xccdf.xslt transform

 RHEL6/Makefile                            |    5 +--
 RHEL6/input/guide.xslt                    |   13 ++++-
 RHEL6/transforms/shorthand2xccdf.xslt     |   84 ++++++++++++++++++++++-------
 RHEL6/transforms/xccdf-addnamespaces.xslt |   49 -----------------
 RHEL6/transforms/xccdf-addprofiles.xslt   |   37 -------------
 5 files changed, 78 insertions(+), 110 deletions(-)
 delete mode 100644 RHEL6/transforms/xccdf-addnamespaces.xslt
 delete mode 100644 RHEL6/transforms/xccdf-addprofiles.xslt



More information about the scap-security-guide mailing list