You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.
@anweiss I have included some profiles and schema in test_util/artifacts and changed the validator test to use those. This fixed the issue mentioned above but now the test gives a new error on TestXMLValidate/successful-validation in the PR #72. The error is as following:
time="2019-01-28T17:35:26+05:00" level=error msg="../test_util/artifacts/oscal-profile-schema.xsd:323: element element: Schemas parser error : Element '{http://www.w3.org/2001/XMLSchema}element': A global element declaration '{http://csrc.nist.gov/ns/oscal/1.0}group' does already exist.\n../test_util/artifacts/oscal-profile-schema.xsd:336: element element: Schemas parser error : Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{http://csrc.nist.gov/ns/oscal/1.0}control' does not resolve to a(n) element declaration.\n../test_util/artifacts/oscal-profile-schema.xsd:394: element element: Schemas parser error : Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{http://csrc.nist.gov/ns/oscal/1.0}guideline' does not resolve to a(n) element declaration.\n../test_util/artifacts/oscal-profile-schema.xsd:475: element element: Schemas parser error : Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{http://csrc.nist.gov/ns/oscal/1.0}choice' does not resolve to a(n) element declaration.\n../test_util/artifacts/oscal-profile-schema.xsd:545: element element: Schemas parser error : Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{http://csrc.nist.gov/ns/oscal/1.0}ref' does not resolve to a(n) element declaration.\nWXS schema ../test_util/artifacts/oscal-profile-schema.xsd failed to compile\n"
Can this be because of the discrepancies in the profile schema? I am not sure how to go forward and solve this issue. Can you please look into this.
The following tests are failing:
Looks like we need to include some test data for validation against the upstream XSDs
Supports #10
The text was updated successfully, but these errors were encountered: