- From: <Toman_Vojtech@emc.com>
- Date: Tue, 16 Feb 2010 07:13:00 -0500
- 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 UTC