niemopen / niem-model

The NIEM reference data model
Other
13 stars 6 forks source link

move niem-xs.xsd to utility directory #91

Closed iamdrscott closed 7 months ago

iamdrscott commented 1 year ago

The schema document for the proxy namespace doesn't have anything to do with adapters or adapter types. Instead it is all about NIEM XML plumbing. It belongs with the other plumbing schema documents in the "utility" directory.

cdmgtri commented 1 year ago

The niem-xs namespace seems more like content than plumbing. The proxy folder was removed in 5.0 as part of the package reorganization, but the uri wasn't updated accordingly at that time.

I could see it being a special case for adapters. It's taking non-conformant external types and wrapping them and adding structures attributes so they can be used conformantly. Schemas don't import the XML Schema namespace, so the appinfo:externalImportIndicator isn't used. Exceptions were made in the NDR from the beginning to keep the names matching the original XML Schema type names for clarity.

iamdrscott commented 1 year ago

Nothing in the proxy namespace has anything to do with describing the real world, which is why I say it's plumbing, not content. The other adapter schema documents are wrappers for real-world descriptions, which is why I say they are content, not plumbing.

Moving niem-xs.xsd to live with the other built-ins would make some things simpler.

  1. Almost every schema document pile now has an "adapter" directory with one file. We could get rid of that.
  2. CMFTool needs extra code because the built-in schema documents live in two directories instead of one.

Oh well, not for PSD01. Maybe for PSD02 if we need one.

iamdrscott commented 7 months ago

Not worth the trouble for PS02.