[XML-SIG] [ pyxml-Bugs-436626 ] Bug in XmlWriter
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 26 Jun 2001 23:53:25 -0700
Bugs item #436626, was opened at 2001-06-26 23:53
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=106473&aid=436626&group_id=6473
Category: 4Suite
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jan Peter Riegel (jpriegel)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bug in XmlWriter
Initial Comment:
In Xslt/XmlWriter.py in the method text() (Line 75ff in
4Suite-0.11.1b2)
There is an reference to the local variable last_chars
in the else-part
of an if-statement, but last_chars is only defined in
the if-part.
Probably the lines
if text and text[0] == '>':
last_chars = self._lastChars
else:
last_chars = ''
Have to occur before the if-statement.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=106473&aid=436626&group_id=6473