Mercurial > bitten > bitten-test
changeset 907:16972cef96bf
Fix for incorrect error reporting in XML transform command when using the MSXML implementation.
author | cmlenz |
---|---|
date | Wed, 13 Apr 2011 13:02:21 +0000 |
parents | 0ae349142bf2 |
children | 2c82cf261d9e |
files | ChangeLog bitten/build/xmltools.py |
diffstat | 2 files changed, 13 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,15 @@ * ??? + +Version 0.6.1 +(???, from 0.6.x branch) +http://svn.edgewall.org/repos/bitten/tags/0.6.1 + + * Fix bug in error reporting in the `<x:transform />` recipe command when + using the Windows MSXML implementation. + + Version 0.6 (11 March 2011, from 0.6.x branch) http://svn.edgewall.org/repos/bitten/tags/0.6 @@ -16,6 +25,7 @@ * Fixed handling of configurations that point to deleted branches. * Fix hg:pull command for Trac 0.12. + Version 0.6b3 (21 October 2010, from 0.6.x branch) http://svn.edgewall.org/repos/bitten/tags/0.6b3
--- a/bitten/build/xmltools.py +++ b/bitten/build/xmltools.py @@ -70,13 +70,13 @@ srcdoc = win32com.client.Dispatch('MSXML2.DOMDocument.3.0') if not srcdoc.load(ctxt.resolve(src)): err = srcdoc.parseError - ctxt.error('Failed to parse XML source %s: %s', src, err.reason) + ctxt.error('Failed to parse XML source %s: %s' % (src, err.reason)) return styledoc = win32com.client.Dispatch('MSXML2.DOMDocument.3.0') if not styledoc.load(ctxt.resolve(stylesheet)): err = styledoc.parseError - ctxt.error('Failed to parse XSLT stylesheet %s: %s', stylesheet, - err.reason) + ctxt.error('Failed to parse XSLT stylesheet %s: %s' % + (stylesheet, err.reason)) return result = srcdoc.transformNode(styledoc)