diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2014-07-04 12:30:21 -0400 |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2014-07-04 12:30:21 -0400 |
commit | e3ff70c955a1e68feeeeb1dc2d560da1f8757370 (patch) | |
tree | c3a8c0673468864ab3718c7b3428a01d64a7b97e | |
parent | 7a9c39d2ea8bf0769dcac5959b5307f27038c62c (diff) | |
parent | bca92a03de88ff9bc9271fd895b62fff80ae9ab5 (diff) | |
download | scons-e3ff70c955a1e68feeeeb1dc2d560da1f8757370.tar.gz |
Merged in dirkbaechle/scons (pull request #146)
-rw-r--r-- | src/engine/SCons/Tool/docbook/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Tool/docbook/__init__.py b/src/engine/SCons/Tool/docbook/__init__.py index aacc26da..26a1a953 100644 --- a/src/engine/SCons/Tool/docbook/__init__.py +++ b/src/engine/SCons/Tool/docbook/__init__.py @@ -242,7 +242,7 @@ def __xml_scan(node, env, path, arg): styledoc = libxml2.parseFile(xsl_file) style = libxslt.parseStylesheetDoc(styledoc) - doc = libxml2.parseFile(str(node)) + doc = libxml2.readFile(str(node), None, libxml2.XML_PARSE_NOENT) result = style.applyStylesheet(doc, None) depfiles = [] @@ -348,7 +348,7 @@ def __xinclude_libxml2(target, source, env): Resolving XIncludes, using the libxml2 module. """ doc = libxml2.readFile(str(source[0]), None, libxml2.XML_PARSE_NOENT) - doc.xincludeProcess() + doc.xincludeProcessFlags(libxml2.XML_PARSE_NOENT) doc.saveFile(str(target[0])) doc.freeDoc() |