Ruxseedloader -- An XCCDF Document Loader
This project provides the foundation for processing XCCDF documents (this project implements the 1.1.4 specification).
XCCDF is an XML document format for checklists supporting the Security Content Automation Protocol (SCAP).
Loading is a pre-requisite to all the document processing models, except perhaps some transformations.
It has 6 different phases:
- Loading.Import
- Loading.Noticing
- Loading.Resolve.Items
- Loading.Resolve.Profiles
- Loading.Resolve.Abstract
- Loading.Resolve.Finalize
The most difficult to get right are those related to Item and Profile extension.
The project uses Ruby's ReXML to parse the XML, and then modifies the tree as required. It then returns the modified ("loaded") benchmark, as an ReXML tree, to the caller.
In that sense, this code could be viewed as a Ruby library to support XCCDF document processing.
The code uses the following classes:

The following error types are defined:

The project also has test XCCDF documents exercising the various loading features.
Back to the Source Forge Ruxseedloader site