
Nov. 8, 2011
8:15 p.m.
Hello everyone. I am trying to validate some xml with the lxml python library, and a file containing DTD. I am getting the following error: default.xml:4:0:ERROR:VALID:DTD_UNKNOWN_ELEM: No declaration for element contests. My xml file is here: http://pastie.org/2832639 and my DTD file is here: http://pastie.org/2832658 are there any obvious issues in my XML or DTD that would cause lxml to generate this error? -- -Matthew