Skip to content

2: Sample Data Files

Fabian Depry edited this page Aug 23, 2024 · 13 revisions

Samples Data Files

The following sample files can be used to test your software (they don't contain values for all data items; the files were created using a synthetic data generator library, see its project home page for a list of data items currently supported):

NAACCR 25

NAACCR 24

NAACCR 23

NAACCR 22

NAACCR 21

NAACCR 18

If you need larger volume of data, you can create synthetic NAACCR XML data files yourself using the free File*Pro software (the files provided here were generated using that software as well).

If you need more specific data, you are welcome to post something on the NAACCR XML Forum.

Validity Checking Data Files

The Java library uses a set of valid and invalid sample files to make sure it implements the NAACCR XML standard properly.

That set can be used by other software to make sure they also implement the standard correctly.

The set is a zip file containing a collection of files with a specific prefix:

  • files starting with valid_ are supposed to be valid according to the latest specifications of the standard.
  • files starting with invalid_ are supposed to fail validation (some of them have obvious XML syntax errors, others fail the standard requirements like using an undefined NAACCR Item ID).

Every invalid file has a comment on the top explaining why it is invalid.