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

charset on p:data

From: Norman Walsh <ndw@nwalsh.com>
Date: Mon, 15 Feb 2010 15:51:33 -0500
To: Vojtech Toman <Toman_Vojtech@emc.com>
CC: public-xml-processing-model-wg@w3.org
Message-ID: <m2wryemdd6.fsf@nwalsh.com>

I don't think you've interpreted the spec correct wrt the data-006.xml
test. The spec says:

  If the resource has a content type associated with it (e.g., if the
  resource was retrieved with HTTP), then that content type must be
  used, otherwise, ...

The server returns textdata-utf8.txt as text/plain; charset=utf-8 so I
don't think the output should be base64 encoded.

The content-type attribute is only used if no content-type is provided.

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | The chief obstacle to the progress of
http://nwalsh.com/            | the human race is the human race.--Don
                              | Marquis

Received on Monday, 15 February 2010 20:52:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:48 UTC