Draft Profiles Resolve Against No Longer Existing Import #168
Labels
bug
The issue is a bug report.
Scope: CI/CD
A task issue to modify the repo's continuous integration and continuous deployment capability.
Scope: Content
A task issue to create or modify OSCAL content and examples.
Describe the bug
This repo still have copies of draft profiles, such as
src/nist.gov/SP800-53/rev5/xml/draft/NIST_SP-800-53_rev5-FPD_HIGH-baseline_profile.xml
, which fail testing with recently added Schematron quality check enforcement into CI/CD on thedevelop
branch (as of 17d7863). In bothdevelop
andmain
, these profiles reference a catalog for/profile/import/@href
that is no longer extant so it throws errors.NOTE: Found when blocking work on validating usnistgov/metaschema#235 by re-running pulled up #139 code PR and seeing if bug is really gone for good.
Who is the bug affecting?
NIST OSCAL developers maintaining the official catalogs and profiles in this repo, and potentially that includes these draft profiles still?
What is affected by this bug?
Validating the catalogs and profiles with Schematrons before content copying and conversion.
When does this occur?
Consistently when making any change to a branch derived from a recent commit off of the
develop
branch.How do we replicate the issue?
develop
.oscal/build/ci-cd/validate-content.sh
with appropriate arguments in local Docker container or review GHA outputs./profile/import/@href
from theoscal/src/utils/schematron/oscal-profile.sch
checks.Expected behavior (i.e. solution)
Paths need adjustment or draft profiles and catalog must be deleted, pending NIST OSCAL development team feedback.
Other Comments
{Add any other context about the problem here.}
The text was updated successfully, but these errors were encountered: