W3C home > Mailing lists > Public > www-xml-xinclude-comments@w3.org > October 2004

Re: harold_77 test case

From: Elliotte Harold <elharo@metalab.unc.edu>
Date: Sat, 30 Oct 2004 18:12:04 -0400
Message-ID: <418411B4.90200@metalab.unc.edu>
To: Oleg Tkachenko <oleg@tkachenko.com>
CC: www-xml-xinclude-comments@w3.org

Oleg Tkachenko wrote:

> The question is how the encoding is supposed to be detected? I presume 
> the resource mime type should be XMLish, but on .NET when loading 
> text/UnicodeBigUnmarked.xml file from the file system I get 
> "application/octet-stream" so the test fails.
> Am I right this test presumes XMLish media type so the encoding is 
> detected as per XML rules?
> 

Yes, I think you're correct. There's an implicit assumption here that a 
file ending in .xml will be marked as text/xml. application/xml, or some 
such so that the XML encoding rules apply.

It's been a while, but doesn't Windows provide some sort of system wide 
MIME types mappings that can be configured somewhere? If not we could 
always make this test one of those that deliberately accesses the 
IBiblio web server (like the tests for accept-lang) so I can make sure 
it's served with the correct MIME type, but I'd like to avoid that if at 
all possible.

-- 
Elliotte Rusty Harold  elharo@metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
Received on Saturday, 30 October 2004 22:12:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:58:57 UTC