Schema Location

From FMR Knowledge Base
Jump to navigation Jump to search

FMR contains a file called schemalocation.properties. This file defines the schema locations for the given SDMX schema version. This is used when the FMR creates an SDMX-ML representation of a dataset. The schema locations are output in the root element's namespace definitions. For example when creating an SDMX-ML 2.1 dataset, the namespace will contain:

 https://xml.sdmx.org/2.1/SDMXMessage.xsd

This file is simply a properties file, containing entries for the different referenced versions of SDMX-ML. To specify alternative schema locations, update the file with the appropriate locations and restart FMR. Please note that the FMR does not validate whether each specified location points to a valid schema.

At the time of writing, the file currently contains:

VERSION_ONE https://xml.sdmx.org/1.0/
VERSION_TWO https://xml.sdmx.org/2.0/
VERSION_TWO_POINT_ONE https://xml.sdmx.org/2.1/
VERSION_THREE https://xml.sdmx.org/3.0.0/