From 5c068135bd86f650e83e3dc95b67a31fdeb2587e Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 6 Nov 2010 11:38:20 +0100 Subject: Also smoke test XHTML 1.1 and skip test on fail (for FreeBSD ports). --- t.validate-xhtml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/t.validate-xhtml b/t.validate-xhtml index bf55f4fb..fa4d8e43 100755 --- a/t.validate-xhtml +++ b/t.validate-xhtml @@ -14,6 +14,14 @@ cat - <<'_EOF' | xmllint 2>/dev/null --nonet --postvalid --noout - || exit 77 </head><body></body></html> _EOF +# same, for XHTML 1.1 +cat - <<'_EOF' | xmllint 2>/dev/null --nonet --postvalid --noout - || exit 77 +<?xml version="1.0" encoding="US-ASCII"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> + <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> + <head><title /></head><body></body></html> +_EOF for i in "${srcdir}"/*.html ; do case "$i" in */fetchmail-man.html) continue ;; esac -- cgit v1.2.3