[issue11804] expat parser not xml 1.1 (breaks xmlrpclib)

2012-05-27 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue11804] expat parser not xml 1.1 (breaks xmlrpclib)

2012-05-27 Thread Martin v . Löwis
Martin v. Löwis added the comment: Panos: you are right. The original issue still exists. However, it is not a bug in Python, but a in the expat library. So I am now closing this report as out-of-scope for Python. There is a bug report open on expat requesting support for XML 1.1, see http:/

[issue11804] expat parser not xml 1.1 (breaks xmlrpclib)

2012-05-27 Thread Phil Daintree
Phil Daintree added the comment: or for less data... #!/usr/bin/env python import xmlrpclib x_server = xmlrpclib.Server('http://www.weberp.org/weberp/api/api_xml-rpc.php',verbose=True) #Get the stock items defined in the webERP installation StockList = x_server.weberp.xmlrpc_SearchStockItem

[issue11804] expat parser not xml 1.1 (breaks xmlrpclib)

2012-05-27 Thread Martin v . Löwis
Martin v. Löwis added the comment: Phil: it seems you have hijacked the bug report. Don't do that. If you want to report a bug, please create a new bug report. Structure it as follows: 1. this is what I did 2. this is what happened 3. this is what should have happened instead. -- ___

[issue11804] expat parser not xml 1.1 (breaks xmlrpclib)

2012-05-27 Thread Phil Daintree
Phil Daintree added the comment: Well maybe this should be a different bug as it is clearly not xml 1.1 related as the linue in the xml gives away :-) To repeat the bug ... using the webERP demo data #!/usr/bin/env python import xmlrpclib x_server = xmlrpclib.Server('http://www.weberp.or

[issue11804] expat parser not xml 1.1 (breaks xmlrpclib)

2012-05-24 Thread Panos Christeas
Panos Christeas added the comment: I'm reopening the bug, as your last comment does not cover the initial report. We are not talking about invalid UTF8 here, but legal low-ASCII values. -- resolution: wont fix -> status: closed -> open ___ Python t

[issue11804] expat parser not xml 1.1 (breaks xmlrpclib)

2012-05-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: This has nothing to do with XML 1.1 (so closing this report as "won't fix"). The UTF-8 text that you present works very well: >>> p=xml.parsers.expat.ParserCreate(encoding="utf-8") >>> p.Parse("\xc3\x87>> p=xml.parsers.expat.ParserCreate(encoding="utf-8") >>>

[issue11804] expat parser not xml 1.1 (breaks xmlrpclib)

2012-05-24 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Yes, but where does this data come from? how did you feed it to the parser? And this does not relate to xml 1.1. BTW, I found this page about XML 1.1: http://www.cafeconleche.org/books/effectivexml/chapters/03.html """ Everything you need to know about

[issue11804] expat parser not xml 1.1 (breaks xmlrpclib)

2012-05-24 Thread Phil Daintree
Phil Daintree added the comment: The field in question contains the utf-8 text: PEÇAS -- ___ Python tracker ___ ___ Python-bugs-list

[issue11804] expat parser not xml 1.1 (breaks xmlrpclib)

2012-05-22 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: In sample above, is "\x87" one character, or 4 ascii characters? -- nosy: +amaury.forgeotdarc ___ Python tracker ___

[issue11804] expat parser not xml 1.1 (breaks xmlrpclib)

2012-05-22 Thread Phil Daintree
Phil Daintree added the comment: The xml parses happily at http://www.w3schools.com/xml/xml_validator.asp -- ___ Python tracker ___ _

[issue11804] expat parser not xml 1.1 (breaks xmlrpclib)

2012-05-22 Thread Phil Daintree
Phil Daintree added the comment: Another example - the following xml returned and displayed from verbose mode: 0001 001 002 100 121213 123456 291 321654 580 ABS ACTIVE AIRCON ALIEJA AMP ASSETS BAKE BRACE BYC CARRO CARTON CO COMPS CULOIL DECOR DVD E FOOD HDD INF LAB LINER LL MCNBI MEDS MOD

[issue11804] expat parser not xml 1.1 (breaks xmlrpclib)

2011-04-08 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11804] expat parser not xml 1.1 (breaks xmlrpclib)

2011-04-08 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11804] expat parser not xml 1.1 (breaks xmlrpclib)

2011-04-08 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue11804] expat parser not xml 1.1 (breaks xmlrpclib)

2011-04-08 Thread Panos Christeas
New submission from Panos Christeas : The expat library (in C level) is not xml 1.1 compliant, meaning that it won't accept characters \x01-\x08,\x0b,\x0c and \x0e-\x1f . At the same time, ElementTree (or custom XML creation, such as in xmlrpclib.py:694) allow these characters to pass through. T