wubo1990 / cv-web-annotation-toolkit

Automatically exported from code.google.com/p/cv-web-annotation-toolkit
0 stars 0 forks source link

Add validation to the qualification question/answer forms. #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Example validation script is attached. It requires 
{{{
sudo apt-get install python-lxml
}}}

Schema URLS are here:
http://docs.amazonwebservices.com/AWSMturkAPI/2008-08-02/index.html?ApiReference
_WsdlLocationArticle.html

Original issue reported on code.google.com by syrn...@gmail.com on 17 Jan 2010 at 5:43

Attachments:

GoogleCodeExporter commented 9 years ago
The solution came from:
http://codespeak.net/lxml/validation.html#xmlschema

via 
http://stackoverflow.com/questions/299588/validating-with-an-xml-schema-in-pytho
n

Original comment by syrn...@gmail.com on 17 Jan 2010 at 5:45

GoogleCodeExporter commented 9 years ago

Original comment by syrn...@gmail.com on 22 Jan 2010 at 7:24

GoogleCodeExporter commented 9 years ago
Done.

Original comment by syrn...@gmail.com on 30 Mar 2010 at 10:56