Schema Validation Emulator
OSCAL Catalog Validator
Checking your XML document against rules defined by the OSCAL Catalog Metaschema
NB - work in progress - features and testing still to come -
(Coming soon - not just catalogs but other OSCAL models as well)
Load your OSCAL XML catalog file(s) here for instant validation...
Explanation
The OSCAL Validator reads an arbitrary XML document and reports back findings from an inspection relative to rules defined for the OSCAL catalog (meta)schema:
- If it is (not) a
catalog
XML document in the OSCAL namespace (i.e., represented to be an OSCAL catalog) - If it sees unknown element occurrences (foreign or out of place)
- On recognized elements, it reports:
- Unrecognized attributes
- Required elements and attributes (checking for elements missing)
- Cardinality (of elements appearing) - too many or too few
- Order of elements - impermissible element ordering
- Datatype-based lexical constraints (
castable as
) constraints (also tested on attributes) - To come... further metaschema-based constraints (
allowed-values
etc.)
Effectively, this feature set is intended to match that of the normative XML Schema Definition (XSD)-based expression of constraints defining the (XML) OSCAL catalog format. If you find any disparities between this tool, and a compliant application of the OSCAL catalog XSD, please let the developer know.