View | Details | Raw Unified | Return to bug 193923 | Differences between
and this patch

Collapse All | Expand All

(-)security/vuxml/Makefile (-1 / +1 lines)
Lines 83-89 validate: tidy Link Here
83
		${ECHO_CMD} Consider using ${VUXML_FILE}.unexpanded for final commit; \
83
		${ECHO_CMD} Consider using ${VUXML_FILE}.unexpanded for final commit; \
84
		return 1; \
84
		return 1; \
85
	fi
85
	fi
86
	${PYTHON_CMD} ${FILESDIR}/extra-validation.py
86
	${PYTHON_CMD} ${FILESDIR}/extra-validation.py ${.CURDIR}/vuln.xml
87
87
88
tidy: vuln.xml
88
tidy: vuln.xml
89
	@if [ ! -e ${LOCALBASE}/share/xml/dtd/vuxml/catalog.xml ]; \
89
	@if [ ! -e ${LOCALBASE}/share/xml/dtd/vuxml/catalog.xml ]; \
(-)security/vuxml/files/extra-validation.py (-1 / +1 lines)
Lines 5-11 import datetime Link Here
5
import xml.etree.ElementTree as ET
5
import xml.etree.ElementTree as ET
6
import sys
6
import sys
7
7
8
tree = ET.parse('vuln.xml')
8
tree = ET.parse(sys.argv[1])
9
root = tree.getroot()
9
root = tree.getroot()
10
10
11
namespace = "{http://www.vuxml.org/apps/vuxml-1}"
11
namespace = "{http://www.vuxml.org/apps/vuxml-1}"

Return to bug 193923