[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: \n before <html
From: Waldo Bastian <bastian () ens ! ascom ! ch>
Date: 1999-07-27 8:58:51
[Download RAW message or body]
Stephan Goetter wrote:
> > White-space and SGML comments are ignored by HTML. The first TAG has to be
> > <HTML...> but I guess that before this tag an unlimited amount of white-space
> > and SGML-comment may occur.
>
> But \n isn't a white-space, or am I wrong here. (after "<doctype..." is a \n)
> For example, when kmimemagic wouldn't know "<doctype..." because of html 1.x only,
> the code would compare "<doctype...\n<html>" with "<html>" and fail.
\n is white-space.
> But are standards so important for file-type-detection ?
Yes. If a HTML file starts with "GIF89a" we will not recognize it.
--
The "gui" in "Penguin" is pronounced "K-D-E"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic