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

harold_77 test case

From: Oleg Tkachenko <oleg@tkachenko.com>
Date: Sat, 30 Oct 2004 19:09:32 +0200
Message-ID: <4183CACC.2020701@tkachenko.com>
To: www-xml-xinclude-comments@w3.org

Hello!

It's
<?xml version='1.0'?>
<document xmlns:xi="http://www.w3.org/2001/XInclude">
   <xi:include parse="text" href="text/UnicodeBigUnmarked.xml"/>
</document>

where text/UnicodeBigUnmarked.xml document is probably USC2 encoded. The 
description says: "Can autodetect UCS2 big endian files with a without a 
byte order mark when parse="text"".

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?

-- 
Oleg Tkachenko
http://blog.tkachenko.com
Multiconn Technologies, Israel
Received on Saturday, 30 October 2004 17:05:36 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Thursday, 9 June 2005 12:16:10 GMT