Skip to content

Commit

Permalink
Add or switch to xml-model for validation in usnistgov#116.
Browse files Browse the repository at this point in the history
  • Loading branch information
aj-stein-nist committed Oct 27, 2023
1 parent 122d197 commit f4326da
Show file tree
Hide file tree
Showing 15 changed files with 16 additions and 11 deletions.
1 change: 1 addition & 0 deletions src/examples/catalog/xml/basic-catalog.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model schematypens="http://www.w3.org/2001/XMLSchema" type="application/xml" href="https://github.com/usnistgov/OSCAL/releases/download/v1.1.1/oscal_complete_schema.xsd"?>
<catalog xmlns="http://csrc.nist.gov/ns/oscal/1.0"
uuid="74c8ba1e-5cd4-4ad1-bbfd-d888e2f6c724">
<metadata>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model schematypens="http://www.w3.org/2001/XMLSchema" type="application/xml" href="https://github.com/usnistgov/OSCAL/releases/download/v1.1.1/oscal_complete_schema.xsd"?>
<component-definition xmlns="http://csrc.nist.gov/ns/oscal/1.0"
uuid="a7ba800c-a432-44cd-9075-0862cd66da6b"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://csrc.nist.gov/ns/oscal/1.0 https://raw.githubusercontent.com/usnistgov/OSCAL/master/xml/schema/oscal_component_schema.xsd">
uuid="a7ba800c-a432-44cd-9075-0862cd66da6b">
<metadata>
<title>MongoDB Component Definition Example</title>
<last-modified>2023-10-12T00:00:00.000000-04:00</last-modified>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model schematypens="http://www.w3.org/2001/XMLSchema" type="application/xml" href="https://github.com/usnistgov/OSCAL/releases/download/v1.1.1/oscal_complete_schema.xsd"?>
<component-definition xmlns="http://csrc.nist.gov/ns/oscal/1.0" uuid="8223d65f-57a9-4689-8f06-2a975ae2ad72">
<metadata>
<title>Test Component Definition</title>
Expand Down
1 change: 1 addition & 0 deletions src/examples/ssp/xml/oscal_leveraged-example_ssp.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model schematypens="http://www.w3.org/2001/XMLSchema" type="application/xml" href="https://github.com/usnistgov/OSCAL/releases/download/v1.1.1/oscal_complete_schema.xsd"?>
<system-security-plan xmlns="http://csrc.nist.gov/ns/oscal/1.0"
uuid="d197545f-353f-407b-9166-ebf959774c5a">
<metadata>
Expand Down
1 change: 1 addition & 0 deletions src/examples/ssp/xml/oscal_leveraging-example_ssp.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model schematypens="http://www.w3.org/2001/XMLSchema" type="application/xml" href="https://github.com/usnistgov/OSCAL/releases/download/v1.1.1/oscal_complete_schema.xsd"?>
<system-security-plan xmlns="http://csrc.nist.gov/ns/oscal/1.0"
uuid="bb9219b1-e51c-4680-abb0-616a43bbfbb1">
<metadata>
Expand Down
1 change: 1 addition & 0 deletions src/examples/ssp/xml/ssp-example.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model schematypens="http://www.w3.org/2001/XMLSchema" type="application/xml" href="https://github.com/usnistgov/OSCAL/releases/download/v1.1.1/oscal_complete_schema.xsd"?>
<system-security-plan xmlns="http://csrc.nist.gov/ns/oscal/1.0"
uuid="cff8385f-108e-40a5-8f7a-82f3dc0eaba8">
<metadata>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>

<?xml-model schematypens="http://www.w3.org/2001/XMLSchema" type="application/xml" href="https://github.com/usnistgov/OSCAL/releases/download/v1.1.1/oscal_complete_schema.xsd"?>
<profile xmlns="http://csrc.nist.gov/ns/oscal/1.0"
uuid="46c593c4-d3fb-4407-85bf-12d5f0f970e0">
<metadata>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>

<?xml-model schematypens="http://www.w3.org/2001/XMLSchema" type="application/xml" href="https://github.com/usnistgov/OSCAL/releases/download/v1.1.1/oscal_complete_schema.xsd"?>
<profile xmlns="http://csrc.nist.gov/ns/oscal/1.0"
uuid="0e15a0fe-fa2a-40e9-847d-53e8c13e60f0">
<metadata>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>

<?xml-model schematypens="http://www.w3.org/2001/XMLSchema" type="application/xml" href="https://github.com/usnistgov/OSCAL/releases/download/v1.1.1/oscal_complete_schema.xsd"?>
<profile xmlns="http://csrc.nist.gov/ns/oscal/1.0"
uuid="8b3beca1-fcdc-43e0-aebb-ffc0a080c486">
<metadata>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>

<?xml-model schematypens="http://www.w3.org/2001/XMLSchema" type="application/xml" href="https://github.com/usnistgov/OSCAL/releases/download/v1.1.1/oscal_complete_schema.xsd"?>
<catalog xmlns="http://csrc.nist.gov/ns/oscal/1.0"
uuid="b954d3b7-d2c7-453b-8eb2-459e8d3b8462">
<metadata>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>

<?xml-model schematypens="http://www.w3.org/2001/XMLSchema" type="application/xml" href="https://github.com/usnistgov/OSCAL/releases/download/v1.1.1/oscal_complete_schema.xsd"?>
<profile xmlns="http://csrc.nist.gov/ns/oscal/1.0"
uuid="beade175-48ad-47c0-ac38-e9c2514cba22">
<metadata>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>

<?xml-model schematypens="http://www.w3.org/2001/XMLSchema" type="application/xml" href="https://github.com/usnistgov/OSCAL/releases/download/v1.1.1/oscal_complete_schema.xsd"?>
<profile xmlns="http://csrc.nist.gov/ns/oscal/1.0"
uuid="8742196d-86ba-4e72-a411-28867dab43bb">
<metadata>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>

<?xml-model schematypens="http://www.w3.org/2001/XMLSchema" type="application/xml" href="https://github.com/usnistgov/OSCAL/releases/download/v1.1.1/oscal_complete_schema.xsd"?>
<profile xmlns="http://csrc.nist.gov/ns/oscal/1.0"
uuid="1019f424-1556-4aa3-9df3-337b97c2c856">
<metadata>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>

<?xml-model schematypens="http://www.w3.org/2001/XMLSchema" type="application/xml" href="https://github.com/usnistgov/OSCAL/releases/download/v1.1.1/oscal_complete_schema.xsd"?>
<profile xmlns="http://csrc.nist.gov/ns/oscal/1.0"
uuid="66b95dd9-650d-456f-b143-19ae7bb36944">
<metadata>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model schematypens="http://www.w3.org/2001/XMLSchema" type="application/xml" href="https://github.com/usnistgov/OSCAL/releases/download/v1.1.1/oscal_complete_schema.xsd"?>
<catalog xmlns="http://csrc.nist.gov/ns/oscal/1.0" uuid="0e9e8558-4d93-4a7f-8c87-34d4d4f9e7bd">
<metadata>
<title>Electronic Version of NIST SP 800-53 Rev 5 Controls and SP 800-53A Rev 5 Assessment Procedures</title>
Expand Down

0 comments on commit f4326da

Please sign in to comment.