changeset 2959:325940450125

#257 Use ISO-8859-1 for test files
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Tue, 21 Nov 2017 15:26:50 +0000
parents a5da95ad84f9
children 5705787531a3
files test_create/test_core.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test_create/test_core.js	Tue Nov 21 11:45:54 2017 +0000
+++ b/test_create/test_core.js	Tue Nov 21 15:26:50 2017 +0000
@@ -133,7 +133,7 @@
     $s.validate = function () {
         var s = new XMLSerializer();
         var Module = {
-            xml: s.serializeToString(specification.encode()),
+            xml: "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>" + s.serializeToString(specification.encode()),
             schema: specification.getSchemaString(),
             arguments: ["--noout", "--schema", 'test-schema.xsd', 'document.xml']
         };