NIEM / NIEM-Releases

Repository for releases of the National Information Exchange Model
https://niem.github.io/niem-releases/
87 stars 23 forks source link

Add attribute xml:lang to reference schemas #153

Closed webb closed 4 years ago

webb commented 4 years ago

In preparation for future internationalization/localization efforts, the NTAC requests the NBAC approve the inclusion of attribute xml:lang in published reference schemas for 5.0.

The inclusion of the attribute will reflect the default language for NIEM XML Schemas, which is currently specified by the NIEM NDR as US. English. This will be identified by setting xml:lang at the document level as xml:lang="en-US".

The NTAC has not yet decided on NDR rules requiring the use of xml:lang, but including it now future-proofs for support of internationalization / localization.

For example, in the NIEM-Core schema, the attribute will appear as follows:

<xs:schema
  targetNamespace="http://release.niem.gov/niem/niem-core/5.0/"
  version="alpha1"
  xml:lang="en-US"
  ct:conformanceTargets="http://reference.niem.gov/niem/specification/naming-and-design-rules/4.0/#ReferenceSchemaDocument"