[XML-SIG] FIXED: Accessing DOM nodes in Python
Wed, 04 Oct 2000 23:18:09 -0400
The buffer I was getting back was from a middleware routine retrieving each
line one at a time. Since the middleware's API is C based, string are
returned with a trailing NULL byte. Since the API doesn't care whether the
data is text or binary it dutifully returns the trailing NULL byte to the
Python interface which perturbs string processing--especially when one string
is appended to another, the NULL bytes remain.
I have to figure out where the appropriate place is to trim the NULL byte from
the end of each line and things should be cool.
I'd like to thank everyone for their help.