diff --git a/pkg/oscal_diff/oscal_diff.go b/pkg/oscal_diff/oscal_diff.go index 1dc4537..385cf5a 100644 --- a/pkg/oscal_diff/oscal_diff.go +++ b/pkg/oscal_diff/oscal_diff.go @@ -46,5 +46,14 @@ func hideFormatRelatedDifferences(a *oscal.OSCAL, b *oscal.OSCAL) { b.Catalog.XMLName = a.Catalog.XMLName } } + case constants.SSPDocument: + if a.SystemSecurityPlan.XMLName.Space != b.SystemSecurityPlan.XMLName.Space { + if a.SystemSecurityPlan.XMLName.Space == "" { + a.SystemSecurityPlan.XMLName = b.SystemSecurityPlan.XMLName + } + if b.SystemSecurityPlan.XMLName.Space == "" { + b.SystemSecurityPlan.XMLName = a.SystemSecurityPlan.XMLName + } + } } }