# HG changeset patch # User fabien # Date 1138312298 18000 # Node ID 8f149c3924cff8c3a7de7c9b02fac12473d1015b # Parent 99d0c02f5ee42e3465fae3f9b1a1ab1388169a45 [svn] r2249@freebird: fabien | 2006-01-26 16:34:55 -0500 New validation rule with a modified xmllint. diff -r 99d0c02f5ee4 -r 8f149c3924cf Makefile --- a/Makefile Thu Jan 26 16:51:15 2006 -0500 +++ b/Makefile Thu Jan 26 16:51:38 2006 -0500 @@ -14,9 +14,7 @@ OUTPUT=$(foreach target,$(basename $(SRCS)),$(call output,$(target))) \ $(PDF_OUTPUT) UPLOAD=$(OUTPUT) cda-perso.sxw cda-perso-alt.sxw presentation.sxi index.fr.html blason.png -xml_validate=xmllint --xinclude $(1) | \ - sed -e 's/\(xmlns:xi\|xml:base\)="[^"]*"//g' | \ - xmllint --valid --noout - 2>&1 | sed 's/^-:/$(1):/' +xml_validate=xmllint --xinclude --postvalid --noout $(1) html_validate=true all: $(basename $(SRCS)) $(PDF_OUTPUT)