summaryrefslogtreecommitdiff
path: root/bin/SConsDoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/SConsDoc.py')
-rw-r--r--bin/SConsDoc.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/SConsDoc.py b/bin/SConsDoc.py
index d0575b0..b42e994 100644
--- a/bin/SConsDoc.py
+++ b/bin/SConsDoc.py
@@ -169,7 +169,7 @@ xsi = "http://www.w3.org/2001/XMLSchema-instance"
# Header comment with copyright
copyright_comment = """
-Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 The SCons Foundation
+Copyright (c) 2001 - 2014 The SCons Foundation
This file is processed by the bin/SConsDoc.py module.
See its __doc__ string for a discussion of the format.
@@ -315,7 +315,7 @@ if not has_libxml2:
fout.close()
def decorateWithHeader(self, root):
- root.attrib["{"+xsi+"}schemaLocation"] = "%s/scons.xsd scons.xsd" % dbxsd
+ root.attrib["{"+xsi+"}schemaLocation"] = "%s %s/scons.xsd" % (dbxsd, dbxsd)
return root
def newXmlTree(self, root):
@@ -450,7 +450,7 @@ else:
xi = root.newNs(xsi, 'xsi')
root.setNs(ns) #put this node in the target namespace
- root.setNsProp(xi, 'schemaLocation', "%s/scons.xsd scons.xsd" % dbxsd)
+ root.setNsProp(xi, 'schemaLocation', "%s %s/scons.xsd" % (dbxsd, dbxsd))
return root