[lxml-dev] Document is not valid XML Schema

Albert Brandl albert.brandl at tttech.com
Thu Apr 5 15:12:59 CEST 2007


On Tue, Apr 03, 2007 at 01:41:33PM -0700, Jeff Cheng wrote:
> I am trying to validate XML files against their respective schemas.
> However, lxml complains that the schemas are not valid.

You might get more information if you catch the exception and
evaluate the error log. Here is a description how to do this:

http://codespeak.net/lxml/api.html#error-handling-on-exceptions

Regards, Albert


More information about the lxml-dev mailing list