We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb02299 commit ad8c69dCopy full SHA for ad8c69d
1 file changed
tools/validate-models
@@ -9,7 +9,7 @@ SCHEMA=$ROOT_DIR/bauer_bsm/sunspec/models/smdx/smdx.xsd
9
function validate {
10
# The name attribute is used throughout the SunSpec models but not declared
11
# in the schema. Ignore this issue.
12
- xmllint --noout --schema $SCHEMA $MODELS_DIR/smdx_*.xml 2>&1 | grep -v "Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed." | grep -v "\.xml fails to validate$"
+ xmllint --noout --schema $SCHEMA $MODELS_DIR/smdx_*.xml 2>&1 | grep -v " validates$" | grep -v "Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed." | grep -v "\.xml fails to validate$"
13
}
14
15
0 commit comments