Open GoogleCodeExporter opened 9 years ago
This is a long-standing issue and one that I really have no good solution for.
The XML that is being returned by S3 is illegal and the parser is perfectly
right to raise an exception. I would be happy to entertain any possible
solutions.
Original comment by Mitch.Ga...@gmail.com
on 19 Jul 2011 at 1:18
Original comment by Mitch.Ga...@gmail.com
on 19 Jul 2011 at 2:11
Yeah, there's no obvious solution. It would be nice if the XML parser could
operate in a less strict mode, but that doesn't seem to be an option.
We could, perhaps, use a regular expression to somehow transform the input
before giving it to the XML parser. You would have to invent a simple encoding
scheme for control characters. Then afterwards, another regular expression
could decode the output.
It's awkward, but that's what happens when people don't build flexibility into
libraries!
Original comment by RareCactus@gmail.com
on 19 Jul 2011 at 5:10
Original issue reported on code.google.com by
RareCactus@gmail.com
on 25 Mar 2011 at 7:45