Commits

shl...@52c325ad-5fd0-0310-8a0f-c43feede02cc  committed 45126ee

Now validating using "jing" by default.

http://www.thaiopensource.com/relaxng/jing.html

It seems less buggy than xmllint.

  • Participants
  • Parent commits 6bd50e0

Comments (0)

Files changed (1)

File hebrew-html-tutorial/Makefile

 $(DOC).xml: $(DOC).xml.tt Render-TT2-to-Docbook.pl
 	perl Render-TT2-to-Docbook.pl
 
-validate: $(DOC).xml
+validate: validate-jing
+
+validate-xmllint: $(DOC).xml
 	xmllint --relaxng http://www.docbook.org/xml/5.0/rng/docbook.rng $<
 
+validate-jing: $(DOC).xml
+	jing http://www.docbook.org/xml/5.0/rng/docbook.rng $<
+
 html-xsl: $(DEST_INDEX) $(DOC)/style.css put-images
 
 $(DEST_INDEX): $(DOC).xml custom.xsl