diff --git a/product/ERP5/tests/testXHTML.py b/product/ERP5/tests/testXHTML.py index c9bc56d44e28533853d6680095951e00023a3fb8..0e64df5311767d0784ea160bcac488036948add2 100644 --- a/product/ERP5/tests/testXHTML.py +++ b/product/ERP5/tests/testXHTML.py @@ -455,7 +455,7 @@ class W3Validator(object): "REQUEST_METHOD": "POST"}).communicate(source) # Output is a set of headers then the XML content. return self._parse_validation_results( - stdout.split('<?xml version="1.0" encoding="UTF-8"?>')[1]) + stdout.split('\n\n', 1)[1]) class TidyValidator(object):