W3C home > Mailing lists > Public > www-html-editor@w3.org > January to March 2003

Re: Validation problems with XHTML 1.0 Transitional code

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Wed, 29 Jan 2003 13:56:54 +0900 (JST)
Message-Id: <20030129.135654.18302313.mimasa@w3.org>
To: Rikeimu@att.net
Cc: www-html-editor@w3.org

Hello,

"RIKEIMU" <Rikeimu@att.net> wrote:

> I have written a page in MSWord (converted as a text only file) using XHTML 1.0 transitional code, and when I attempt to validate the page at the W3C validation site, I get a message informing me that W3C does not support "application/octet-stream'.  Can you tell me the meaning of application/octet -stream.

See RFC 2046 "Multipurpose Internet Mail Extensions (MIME) Part Two:
Media Types" [1], "4.5. Application Media Type" and "4.5.1. Octet-Stream
Subtype".  The first sentence of section 4.5 says:

   The "application" media type is to be used for discrete data which do
   not fit in any of the other categories, and particularly for data to
   be processed by some type of application program.

and the first sentence of section 4.5.1 says:

   The "octet-stream" subtype is used to indicate that a body contains
   arbitrary binary data.

So the 'application/octet-stream' media type is for arbitrary binary
data, which is not suitable for sending XHTML documents.  That's why
the validator complained.  Please set an appropriate media type for
your document.

For choosing an appropriate media type, the "XHTML Media Types" Note [2]
may be helpful.

If you have further questions about the validator, please use
the www-validator@w3.org mailing list, which is dedicated for
discussion about the W3C Markup Validation Service.  The mailing
list archive is available at:

    http://lists.w3.org/Archives/Public/www-validator/

Hope this helps.

[1] http://www.rfc-editor.org/rfc/rfc2046.txt
[2] http://www.w3.org/TR/xhtml-media-types/

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium
Received on Tuesday, 28 January 2003 23:56:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:44 GMT