[issue1483] xml.sax.saxutils.prepare_input_source ignores character stream in InputSource

2015-04-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Fixed in issue2175. -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue1483] xml.sax.saxutils.prepare_input_source ignores character stream in InputSource

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling : -- nosy: -akuchling ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue1483] xml.sax.saxutils.prepare_input_source ignores character stream in InputSource

2014-02-03 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue1483] xml.sax.saxutils.prepare_input_source ignores character stream in InputSource

2013-01-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +Expat parser parses strings only when XML encoding is UTF-8 ___ Python tracker ___ ___

[issue1483] xml.sax.saxutils.prepare_input_source ignores character stream in InputSource

2013-01-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mai

[issue1483] xml.sax.saxutils.prepare_input_source ignores character stream in InputSource

2010-11-12 Thread A.M. Kuchling
Changes by A.M. Kuchling : -- assignee: akuchling -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue1483] xml.sax.saxutils.prepare_input_source ignores character stream in InputSource

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: There's a one line patch in msg57749 and some unit tests are attached so would a committer take a look please. Also note that #2174 and #2175 are related. -- nosy: +BreamoreBoy stage: -> patch review type: -> behavior ___

[issue1483] xml.sax.saxutils.prepare_input_source ignores character stream in InputSource

2010-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Are this and the other issues still problems in 2.7 (rc out now) and 3.1? -- nosy: +tjreedy versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___ Python tracker ___

[issue1483] xml.sax.saxutils.prepare_input_source ignores character stream in InputSource

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- assignee: -> akuchling priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-

[issue1483] xml.sax.saxutils.prepare_input_source ignores character stream in InputSource

2008-02-24 Thread Yitz Gale
Yitz Gale added the comment: Sure. Here is a simple test case: def testUseCharacterStream(self): '''If the source is an InputSource with a character stream, use it.''' src = xml.sax.xmlreader.InputSource(temp_file_name) src.setCharacterStream(StringIO.StringIO(u"foo")) prep =

[issue1483] xml.sax.saxutils.prepare_input_source ignores character stream in InputSource

2008-02-23 Thread A.M. Kuchling
A.M. Kuchling added the comment: Could you please provide a simple little test case for the bug? I'd like to add a test when I commit the change, but you can probably boil the problem down into a test faster than I can. -- nosy: +akuchling __ Tracker <[E

[issue1483] xml.sax.saxutils.prepare_input_source ignores character stream in InputSource

2007-11-22 Thread Yitz Gale
Yitz Gale added the comment: Oops, obvious typo, sorry: -if source.getByteStream() is None: +if source.getCharacterStream() is None and source.getByteStream() is None: __ Tracker <[EMAIL PROTECTED]>

[issue1483] xml.sax.saxutils.prepare_input_source ignores character stream in InputSource

2007-11-21 Thread Yitz Gale
New submission from Yitz Gale: In the documentation for xml.sax.xmlreader.InputSource objects (section 8.12.4 of the Library Reference) we find that users of InputSource objects should use the following sequence to get their input data: 1. If the InputSource has a character stream, use that. 2.