DTD Validation Failing (Python)
DTD Validation Failing (Python) Question: I am doing a Python script which generates files from a XML + DTD passed as inputs, but it fails because the DTD cannot be validated, while I do not see any problem “visually”. Here is my code : DTD = ‘scenario.dtd’ def OpenXML(xmlDesc): dtd = libxml2.parseDTD(None,DTD) ctxt = libxml2.newValidCtxt() …
Total answers: 1