W3C home > Mailing lists > Public > public-html@w3.org > November 2007

Manifest file format, was: Feedback on "Offline Web Applications" (Editor's Draft 17 November 2007)

From: Julian Reschke <julian.reschke@gmx.de>
Date: Mon, 19 Nov 2007 13:35:42 +0100
Message-ID: <4741831E.7010402@gmx.de>
To: HTML WG <public-html@w3.org>

Anne van Kesteren wrote:
>  From the specification: "The first line may optionally be preceded by a 
> U+FEFF BYTE ORDER MARK (BOM) character."
> ..

Missed that one. Thanks.

Looking at the spec...

"The first line of an application cache manifest must consist of the 
string "CACHE", a single U+0020 SPACE character, the string "MANIFEST", 
and zero or more U+0020 SPACE and U+0009 CHARACTER TABULATION (tab) 
characters. If any other text is found on the first line, the user agent 
will ignore the entire file. The first line may optionally be preceded 
by a U+FEFF BYTE ORDER MARK (BOM) character."

...the two last sentences seem to contradict each other. It probably 
would be more precise to say:

"The first line of an application cache manifest must consist of an 
optional U+FEFF BYTE ORDER MARK (BOM) character, the string "CACHE", a 
single U+0020 SPACE character, the string "MANIFEST", and zero or more 
U+0020 SPACE and U+0009 CHARACTER TABULATION (tab) characters. If any 
other text is found on the first line, the user agent will ignore the 
entire file."

Best regards, Julian
Received on Monday, 19 November 2007 12:36:05 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:24 UTC