Skip to content

Commit

Permalink
Framework: one more
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Sep 1, 2023
1 parent 9693020 commit e59563b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Mk/plugins.mk
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,9 @@ lint-model:
(xmllint $${MODEL} --xpath '//*[@type and not(@type="ArrayField") and BlankDesc and Multiple="Y"]' 2> /dev/null | grep '^<' || true) | while read LINE; do \
echo "$${MODEL}: $${LINE} blank description not applicable on multiple field"; \
done; \
(xmllint $${MODEL} --xpath '//*[@type and not(@type="ArrayField") and Multiple="N"]' 2> /dev/null | grep '^<' || true) | while read LINE; do \
echo "$${MODEL}: $${LINE} Multiple=N is the default"; \
done; \
(xmllint $${MODEL} --xpath '//*[@type and not(@type="ArrayField") and OptionValues[default[not(@value)] or multiple[not(@value)] or required[not(@value)]]]' 2> /dev/null | grep '^<' || true) | while read LINE; do \
echo "$${MODEL}: $${LINE} option element default/multiple/required without value attribute"; \
done; \
Expand Down

0 comments on commit e59563b

Please sign in to comment.