svn commit: r41223 - projects/xml-tools/share/mk

Gabor Kovesdan gabor at FreeBSD.org
Fri Mar 15 08:40:04 UTC 2013


Author: gabor
Date: Fri Mar 15 08:40:03 2013
New Revision: 41223
URL: http://svnweb.freebsd.org/changeset/doc/41223

Log:
  - Suppress the XML declaration emitted by the Schematron XSLT

Modified:
  projects/xml-tools/share/mk/doc.docbook.mk

Modified: projects/xml-tools/share/mk/doc.docbook.mk
==============================================================================
--- projects/xml-tools/share/mk/doc.docbook.mk	Fri Mar 15 08:37:25 2013	(r41222)
+++ projects/xml-tools/share/mk/doc.docbook.mk	Fri Mar 15 08:40:03 2013	(r41223)
@@ -582,7 +582,7 @@ lint validate: ${SRCS} ${schxslts}
 .for sch in ${schxslts}
 	@( out=`${XSLTPROC} ${sch} ${DOC}.parsed.xml`; \
 	  if [ -n "$${out}" ]; then \
-		echo "$${out}"; \
+		echo "$${out}" | ${GREP} -v '^<?xml'; \
 		false; \
 	  fi )
 .endfor


More information about the svn-doc-projects mailing list