We need to pass the DTD to xmlstarlet to validate against it the XML.
authorEliel C. Sardanons <eliels@gmail.com>
Tue, 4 Nov 2008 20:12:41 +0000 (20:12 +0000)
committerEliel C. Sardanons <eliels@gmail.com>
Tue, 4 Nov 2008 20:12:41 +0000 (20:12 +0000)
(I thought it was being read within the DOCTYPE definition inside the XML).

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@154329 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index 98fc69a..f9b3ded 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -504,7 +504,7 @@ ifeq ($(XMLSTARLET),:)
        @echo "--- Please install xmlstarlet to validate the documentation ---"
        @echo "---------------------------------------------------------------"
 else
-       $(XMLSTARLET) val $<
+       $(XMLSTARLET) val -d doc/appdocsxml.dtd $<
 endif
 
 update: