From 86b86961210b2f228358bdc8fea3703cc058ed84 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Tue, 3 Oct 2017 13:09:19 +0100 Subject: Remove --valid from call to xmllint The existing call to xmllint returns an error status, the error message is obscured by the output, but it writes to stderr: explicit-failures-markup.xml:3: validity error : Validation failed: no DTD found ! xsi:noNamespaceSchemaLocation="explicit-failures.xsd"> According to the xmllint man page the `--valid` flag is used for validating using a DTD, and we don't have a DTD. The `--schema` flag is sufficient for validation, so I think the solution is just to remove the `--valid` flag. --- status/explicit-failures-markup.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/status/explicit-failures-markup.xml b/status/explicit-failures-markup.xml index 5cf6be7241..c0c3146b72 100644 --- a/status/explicit-failures-markup.xml +++ b/status/explicit-failures-markup.xml @@ -7,7 +7,7 @@ Locally, the xmlint tool can be used: - xmllint valid explicit-failures-markup.xml schema explicit-failures.xsd + xmllint explicit-failures-markup.xml schema explicit-failures.xsd The following online services can be used to validate your changes to this file: -- cgit v1.2.1