Definition at line 7 of file validateMioctEncodingFileDTD.py.
10 print(
"Usage:\n%s TestGeomety.xml" % sys.argv[0])
15 checkResult = os.system(
"get_files -xmls -symlink MUCTPIGeometry.dtd")
17 print(
"ERROR Could not find MUCTPIGeometry.dtd in $DATAPATH")
20 checkResult = os.system(
"xmllint --noout --dtdvalid MUCTPIGeometry.dtd %s" % xmlfile)
22 print(
"XML file %s is conform with MUCTPIGeometry.dtd" % xmlfile)
24 print(
"ERROR the XML does not follow the document type definition MUCTPIGeometry.dtd")