W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > February 2009

p:http-request content-type and encoding

From: Norman Walsh <ndw@nwalsh.com>
Date: Wed, 04 Feb 2009 07:51:32 -0500
To: public-xml-processing-model-comments@w3.org
Message-ID: <m2fxiujrfv.fsf@nwalsh.com>
Suppose I want to send a MIME multipart request where the first part
is encoding as UTF-8 and the second part is encoded as ISO-8859-1.

Do I do this:

  <c:multipart ...>
    <c:body content-type="application/xml" encoding="utf-8">...</c:body>
    <c:body content-type="application/xml" encoding="iso-8859-1">...</c:body>
  </c:multipart>

or do I do this:

  <c:multipart ...>
    <c:body content-type="application/xml; charset=utf-8">...</c:body>
    <c:body content-type="application/xml; charset=iso-8859-1">...</c:body>
  </c:multipart>

or have we not considered this case?

Our current description of the encoding attribute only mandates
support for "base64".

It would appear that 'encoding' on p:http-request applies to the
entire body, but in the multipart case, that may not be correct.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Science is like sex: sometimes
http://nwalsh.com/            | something useful comes out, but that is
                              | not the reason we are doing
                              | it.--Richard Feynman

Received on Wednesday, 4 February 2009 12:52:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 4 February 2009 12:52:18 GMT