From e02cdc0c54c12ac783de552ba853e191edae34ed Mon Sep 17 00:00:00 2001 From: Bob Lantz <rlantz@cs.stanford.edu> Date: Sat, 7 Sep 2013 17:11:17 -0700 Subject: [PATCH] XML file cannot begin with a newline :( --- util/vm/build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/vm/build.py b/util/vm/build.py index bcd8726d..bd041512 100755 --- a/util/vm/build.py +++ b/util/vm/build.py @@ -499,9 +499,9 @@ def convert( cow, basename ): # In the best of all possible worlds, we might use an XML # library to generate this, but a template is easier and # possibly more concise! +# Warning: XML file cannot begin with a newline! -OVFTemplate = """ -<?xml version="1.0"?> +OVFTemplate = """<?xml version="1.0"?> <Envelope ovf:version="1.0" xml:lang="en-US" xmlns="http://schemas.dmtf.org/ovf/envelope/1" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" -- GitLab