- Drop DTD after parsing

This commit is contained in:
Gabor Kovesdan 2013-06-30 09:22:48 +00:00
parent 751080fed4
commit b422bc43c3
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/projects/db5/; revision=42092

View file

@ -255,7 +255,7 @@ ${sch:T}.xsl: ${sch}
# Parsed XML ------------------------------------------------------- # Parsed XML -------------------------------------------------------
${DOC}.parsed.xml: ${SRCS} ${DOC}.parsed.xml: ${SRCS}
${XMLLINT} --nonet --noent --valid --xinclude ${MASTERDOC} > ${.TARGET} ${XMLLINT} --nonet --noent --valid --dropdtd --xinclude ${MASTERDOC} > ${.TARGET}
.if defined(PROFILING) .if defined(PROFILING)
@${ECHO} "==> Profiling" @${ECHO} "==> Profiling"
${XSLTPROC} ${PROFILING} ${XSLPROF} ${.TARGET}.tmp > ${.TARGET} ${XSLTPROC} ${PROFILING} ${XSLPROF} ${.TARGET}.tmp > ${.TARGET}
@ -377,7 +377,7 @@ ${DOC}.${_curformat}:
lint validate: ${SRCS} ${schxslts} lint validate: ${SRCS} ${schxslts}
@${ECHO} "==> Basic validation" @${ECHO} "==> Basic validation"
@${XMLLINT} --nonet --noent --valid --xinclude ${MASTERDOC} > ${DOC}.parsed.xml @${XMLLINT} --nonet --noent --valid --dropdtd --xinclude ${MASTERDOC} > ${DOC}.parsed.xml
.if defined(schxslts) .if defined(schxslts)
@${ECHO} "==> Validating with Schematron constraints" @${ECHO} "==> Validating with Schematron constraints"
.for sch in ${schxslts} .for sch in ${schxslts}