Replies: 7 comments 16 replies
-
Principle 2 information could go to the the Scope section. And we may want to expand this a bit. I think it would make sense to talk about reference models and message models in the NDR.
|
Beta Was this translation helpful? Give feedback.
-
Section 6.2.6 Define on reference schema per namespace This should remain in the XML binding, but isn't needed for NIEM JSON. |
Beta Was this translation helpful? Give feedback.
-
Section 6.2.10 Schema locations provided in schema documents are hints I think we'll need to keep this one in the XML binding as well. It allows schema location values to be overwritten with xml catalogs. |
Beta Was this translation helpful? Give feedback.
-
Section 6.5.3 Reflect the real world This is another I think we should keep. It helps with consistency with content coming from a lot of different sources, each potentially with their own ways of organizing and grouping components. |
Beta Was this translation helpful? Give feedback.
-
6.2.2. Prohibit XML parsing from constructing values I wonder if we still want this one. We don't really follow this principle ourselves. If we did, we would put |
Beta Was this translation helpful? Give feedback.
-
6.2.8. Specify types for all constructs Perhaps this should read "NIEM-conformant reference schemas". Those are the schemas that are intended for reuse. Local types in message schemas are useful, and we probably have some conformance rules for them. |
Beta Was this translation helpful? Give feedback.
-
I hate to say it, but most (all?) of the rule-less principles could be moved to the Understanding the NIEM Technical Architecture project note. Some of them are already there. |
Beta Was this translation helpful? Give feedback.
-
In NIEM 5.0 the scope of the NDR includes 29 guiding principles and 260 rules. For reference, the complete definitions of each principle are (of course) in Section 6 of the NDR itself.
The following principles, with one noted exception, are not enforced in any rules.
1 Keep specification to a minimum
2 Focus on rules for schemas
3 Use specific, concise rules
4 Purpose of XML schemas
6 Use XML validating parsers for content validation
8 Allow multiple schemas for XML constraints
9 Define one reference schema per namespace
11 Specify types for all constructs
13 Schema locations provided in schema documents are hints
18 Avoid displaying raw XML data
23 Reflect the real world (1 instance rule)
25 Reserve inheritance for specialization
26 Do not duplicate definitions
In NDR 6.0, I suggest that, for each of these, we either:
a. Define at least one rule, or
b. Eliminate the principle
If you believe we should keep ANY of these rules in NDR 6.0, please comment and, ideally, suggest an appropriate rule. The rule may be a manually checked rule (it doesn't have to be implementable in Schematron) but it should be stated clearly enough that an objective observer can clearly determine whether an artifact is conforming.
Beta Was this translation helpful? Give feedback.
All reactions