[bugfix] closing XCCDF tags properly

testing in comments of PR 280