niemopen / niem-naming-design-rules

NIEM Naming and Design Rules Specification
Other
4 stars 2 forks source link

Do not allow elements and attributes with the same uncased name #11

Open cdmgtri opened 1 year ago

cdmgtri commented 1 year ago

Migrated from NIEM/NIEM-NDR#106

New NDR rule. Casing will be different due to current rules, but do not allow elements and attributes in the same namespace to have the same name. This causes problems in case-insensitive environments.

Dr. Scott: Same uncased name. Is there a rule between elements in the same namespace?

todo Christina and Tom Carlson draft a rule for this.

cdmgtri commented 1 year ago

Schematron rule: For each attribute, do an uncased search for an element with the same name.