On Fri, Aug 18, 2017 at 4:09 PM Ben Pfaff <[email protected]> wrote:

> On Mon, Aug 14, 2017 at 09:54:10PM +0000, Mark Michelson wrote:
> > I debugged the problem further and I now have figured out that the
> problem
> > has to do with a form feed character being present in the patch. The
> > Patchwork server places the patch text inside an XML 1.0 document;
> however,
> > form-feeds are illegal in XML 1.0 [2]. This makes the use of form feeds
> and
> > the use of pwclient incompatible.
>
> Why not use XML 1.1?  It allows form feeds.
>

I don't know how viable that is. The XML version is hard-coded in Python's
xmlrpclib code. As an experiment, I patched my local copy of xmlrpclib.py
to use XML 1.1, but the server still responded with an XML 1.0 document, so
the error still occurred. This would mean the server would need to be
patched to send an XML 1.1 document, and you'd have to hope that the XML
parser on the client side actually pays attention to the XML version.

For now, I'll just go with the crowd and use curl + web browser.
Mark
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to