Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #44541
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder2.hal-mli.net!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx01.iad01.newshosting.com!newshosting.com!198.186.194.249.MISMATCH!transit3.readnews.com!news-out.readnews.com!transit4.readnews.com!panix!gordon |
|---|---|
| From | John Gordon <gordon@panix.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Passing special characters in soap data |
| Date | Tue, 30 Apr 2013 14:08:07 +0000 (UTC) |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Lines | 26 |
| Message-ID | <kloj87$euf$1@reader1.panix.com> (permalink) |
| References | <mailman.1176.1367322680.3114.python-list@python.org> |
| NNTP-Posting-Host | panix1.panix.com |
| X-Trace | reader1.panix.com 1367330887 15311 166.84.1.1 (30 Apr 2013 14:08:07 GMT) |
| X-Complaints-To | abuse@panix.com |
| NNTP-Posting-Date | Tue, 30 Apr 2013 14:08:07 +0000 (UTC) |
| User-Agent | nn/6.7.3 |
| X-Received-Bytes | 1680 |
| Xref | csiph.com comp.lang.python:44541 |
Show key headers only | View raw
In <mailman.1176.1367322680.3114.python-list@python.org> Ombongi Moraa Fe <moraa.lovetakes2@gmail.com> writes:
> My provider sends soap data to me as they receive from subscriber. as
> expected the messages with special characters like quotes are received as
> html entities.
> like the message below had a quote:
> <?xml version="1.0" encoding="utf-8" ?><soapenv:Envelope
> ...<message>I'll shape it up myself</message>...
> </soapenv:Body></soapenv:Envelope>
> Since i pass this data into my python script as a command line call, i get
> the error:
> /bin/sh: Syntax error: Unterminated quoted string
Can you modify your python script so it accepts a filename which contains
the xml?
--
John Gordon A is for Amy, who fell down the stairs
gordon@panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
RE: Passing special characters in soap data Ombongi Moraa Fe <moraa.lovetakes2@gmail.com> - 2013-04-30 14:50 +0300 Re: Passing special characters in soap data John Gordon <gordon@panix.com> - 2013-04-30 14:08 +0000
csiph-web