clarin-eric / cmdi-toolkit

GNU General Public License v3.0
7 stars 2 forks source link

Add instance schematron rule: Discourage empty string values (BP C6) #8

Open twagoo opened 5 years ago

twagoo commented 5 years ago

Best practice C6: Discourage empty string values

When making an element or attribute mandatory and give it the simple type “string”, this should imply the requirement of a non-empty value. In other words, do not encourage the creation of empty elements or attributes in the metadata but rather consider making an element or attribute optional.