XML validation in stdlib?

Stefan Behnel stefan_ml at behnel.de
Sun Jun 15 10:02:24 CEST 2008

Filip Gruszczyński wrote:
> I took a look at the standard library and tried to find some
> validation against schema tools, but found none. I googled, but found
> only links to external libraries, that can do some validation. Does it
> mean, that there is no validation in stdlib or have I just missed
> something?

No, there is no XML validation tool available in the standard library. If you
require depending on the stdlib only, you can write your code with ElementTree
and replace it with lxml when you want to use validation (DTD/XML



More information about the Python-list mailing list