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

RE: charset on p:data

From: <Toman_Vojtech@emc.com>
Date: Tue, 16 Feb 2010 07:13:00 -0500
Message-ID: <997C307BEB90984EBE935699389EC41CB8B432@CORPUSMX70C.corp.emc.com>
To: <public-xml-processing-model-wg@w3.org>
> Vojtech,
> 
> 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.

You are right. I think I wrote the test with the file system in in mind,
but that is obviously not right when you run the tests over the web. I
didn't notice this because Calumet does not yet implement the "server
content-type is authoritative" requirement.

We should fix the test and make a note in there that the test only
succeeds when executed over the web.

Vojtech
Received on Tuesday, 16 February 2010 12:13:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 16 February 2010 12:13:38 GMT