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

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