views:

186

answers:

1

I've got validation working on client side using lxml, but I'm not quite sure how to get it work on google app engine, since it doesn't have the lxml package. I tried copying the whole lxml folder and place it in the root of my google application, but it seems like it cannot use it properly. I'm guessing it has to do with the compiled .so-files and such.

Is there a way to get lxml to work on google app engine? If not, is there any other library that you can use to validate xml against dtd that works on google app engine?

+1  A: 

Compiled C extensions (like lxml) will not work on Google App Engine.

PyXML is no longer maintained, but it does have a pure-Python XML validator. See this code snippet for an example.

lost-theory