devtools/testlib.py
changeset 8971 062e40f41b57
parent 8930 6a02be304486
child 8975 045e449617ad
equal deleted inserted replaced
8970:0a1bd0c590e2 8971:062e40f41b57
   808         #
   808         #
   809         # do not set html validators here, we need HTMLValidator for html
   809         # do not set html validators here, we need HTMLValidator for html
   810         # snippets
   810         # snippets
   811         #'text/html': DTDValidator,
   811         #'text/html': DTDValidator,
   812         #'application/xhtml+xml': DTDValidator,
   812         #'application/xhtml+xml': DTDValidator,
   813         'application/xml': htmlparser.SaxOnlyValidator,
   813         'application/xml': htmlparser.XMLValidator,
   814         'text/xml': htmlparser.SaxOnlyValidator,
   814         'text/xml': htmlparser.XMLValidator,
   815         'application/json': JsonValidator,
   815         'application/json': JsonValidator,
   816         'text/plain': None,
   816         'text/plain': None,
   817         'text/comma-separated-values': None,
   817         'text/comma-separated-values': None,
   818         'text/x-vcard': None,
   818         'text/x-vcard': None,
   819         'text/calendar': None,
   819         'text/calendar': None,