<description>s are simultaneously required and may have void content. #1189
Replies: 4 comments 1 reply
-
I don't know if it was/is, but I am part of the "explicit is better than implicit" camp. :-) |
Beta Was this translation helpful? Give feedback.
-
Due to the nature of markup-multiline and markup-line, and the need to keep them aligned with both Markdown and a markup vocabulary, it is really not practical nor advisable (in my view) to try to express a requirement for "meaningful data content" in these places (for example, to exclude whitespace-only). (Same thing applies to There are ways to guard against it nonetheless, for example we could add support via a constraint definition applying to However, at some point this inevitably becomes a data quality issue, not a validation issue. If we forbid "" (either no content or whitespace-only) then those who wish to evade the error will input "TODO" or some such. Then we get "TODO" all over our data instead of empties. Arguably that is more informative, but as far as actionability is concerned (what to do), it amounts to the same thing. At the same time, a Schematron precheck that says "of 110 |
Beta Was this translation helpful? Give feedback.
-
This depends on how the occasional schema (cardinality of {1,1}) requirement of "a description must be present" is interpreted. "Yes! We Have No Bananas" is currently accepted. The cardinality of {0,1} variant is "We might but need not assert that we have or have not bananas". That which is not forbidden is allowed. |
Beta Was this translation helpful? Give feedback.
-
I would be fine with an optional What I'm not in favor of is revisiting Making "That which is not forbidden is allowed" is a poor juridical principle to apply to a class of 1st Graders. And games that rely on it (Diplomacy comes to mind, or maybe ice hockey?) are particularly brutal. |
Beta Was this translation helpful? Give feedback.
-
The
<description>
element (e.g.), while having a cardinality of {1.1}, allows void content due to the definition of markupMultilineType.Is this intentional?
<description />
is thus allowed.(This observation is of course viewed from the prospect of XML Schema.)
Beta Was this translation helpful? Give feedback.
All reactions