ConTesA is a free web tool provided by the NIEM program that also may be used to check NDR conformance.
Schematron files have a
.sch file extension.
The Schematron file(s) will be needed each time you test NDR conformance. The two key files for this task are:
ndr-rules-conformance-target-ext.sch- Schematron rules for EXT schemas
ndr-rules-conformance-target-ref.sch- Schematron rules for REF schemas
In Oxygen, open the NIEM XML schema to test for NDR conformance. This might be an IEPD extension schema or a NIEM domain schema under development.
Open the “Validate with…” dialog box. There are three different ways of doing this:
(Option 1) From the menu bar, click on Document > Validate > Validate with…
(Option 2) Click the drop-down on the
Validate (check mark) button and select
Validate with..., as shown below.
(Option 3) From an open Oxygen project, right-click on one or more selected schema files or folders, as shown below.
Validate with dialog box…
Schema Type field from
XML Schema to
URL field, browse to the downloaded Schematron file. Make sure to choose the appropriate file (REF or EXT) for your NIEM schema.
Click OK to run the conformance validation.
Conformance errors and warnings will appear in the
The image below shows several modifications to a local copy of Core in order to demonstrate errors:
After making corrections, rerun the steps above to test conformance on the updated schema.
Please see Oxygen’s video for more information about Schematron validation in Oxygen.