DTD validation support


libxml does not try to validate by default

the API allows:

problem this is dependant on DOM