From fe3307170fa9e0a11f4987fe3afdfc21bb03aad5 Mon Sep 17 00:00:00 2001 From: Ondrej Vasik Date: Mar 12 2009 15:16:28 +0000 Subject: add --nonet and --noent option to xmllint validation check(fixes debian #516253) git-svn-id: https://svn.fedorahosted.org/svn/xmlto@4 eb1b79c1-ba03-4820-82f3-b60cf523859b --- diff --git a/xmlto.in b/xmlto.in index e1df57c..d4ba323 100755 --- a/xmlto.in +++ b/xmlto.in @@ -427,8 +427,10 @@ if [ "$SKIP_VALIDATION" -eq 0 ] && [ "$SOURCE_FORMAT" != "fo" ] then VALIDATION="${XSLT_PROCESSED_DIR}/validation-errors" [ "$VERBOSE" -ge 1 ] && \ - echo >&2 "xmllint >/dev/null --xinclude --postvalid \"$INPUT_FILE\"" - xmllint >/dev/null --xinclude --postvalid "$INPUT_FILE" 2>"${VALIDATION}" + echo >&2 \ + "xmllint >/dev/null --nonet --xinclude --postvalid --noent \"$INPUT_FILE\"" + xmllint >/dev/null --nonet --xinclude --postvalid --noent \ + "$INPUT_FILE" 2>"${VALIDATION}" xmllint_status=$? if [ $xmllint_status -ne 0 ] then