Comment Re:Mistake after mistake after mistake (Score 1) 97
Actually, you have to explicitly turn on DTD validation and provide a DTD if you want libxml2 to do validation
If there is a Doctype declaration present in the XML, it is a requirement for an XML parser to parse the DTD for entity resolution, whether or not validation is required. The declaration can point to a DTD over HTTP.