- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Fri, 26 Oct 2001 14:06:16 +0200
- To: MURATA Makoto <EB2M-MRT@asahi-net.or.jp>
- Cc: "Christian Wolfgang Hujer" <Christian.Hujer@itcqis.com>, www-style@w3.org
* MURATA Makoto wrote: >Christian Wolfgang Hujer wrote: >> >> The document of the URL specified is not UTF-8 but probably UTF-16 encoded. >> You have to state any non-UTF-8-Encoding in the XML-Declaration. The >> xml-declaration of your document is wrong, it has to be <?xml version="1.0" >> encoding="utf-16"?>. So the document is no XML document (it is not >> well-formed). > >No, UTF-16 XML documents do not require encoding declarations. The BOM >is good enough. See XML 1.0. However, % http-head http://www.asahi-net.or.jp/~eb2m-mrt/jisho.xml HTTP/1.1 200 OK Date: Fri, 26 Oct 2001 12:04:38 GMT Server: Apache/1.3.20 (Unix) Last-Modified: Thu, 25 Oct 2001 17:10:05 GMT ETag: "20fa-1a2-3bd8476d" Accept-Ranges: bytes Content-Length: 418 Connection: close Content-Type: text/xml Since the document is said to be text/xml without charset parameter, conforming processors issue a fatal error for your test case, since they must assume us-ascii as character encoding and the BOM is not expressable in us-ascii. -- Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de 25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Friday, 26 October 2001 08:07:22 UTC