Reply to Re: Shortest possible valid HTML document?

Your name:

Reply:


Posted by Michael Winter on 05/31/06 16:27

On 31/05/2006 16:56, David Håsäther wrote:

> Michael Winter <m.winter@blueyonder.co.uk> wrote:

[snip]

>> The SGML grammar requires at least one white space character
>> between the 'SYSTEM' literal (or public identifier) and the system
>> identifier, so I don't think that quite qualifies. :-P

[snip]

> No, it requires a _parameter separator_.

Yes, I went too far there. Even /if/ the separator couldn't be omitted,
it wouldn't necessarily require a white space character; anything
matching that production should do.

> However, those are not required in all circumstances.

I stand corrected on both counts. Thank you. :-)

[snip]

> <!doctype p><p>
>
> Again, this needs a properly set up catalog.

I wondered if there might be trickery along those lines. However, a(n
irrelevant) philosophical question: would that actually count as a valid
HTML document? Yes, it may validate against a HTML DTD, but without the
html element as the root element, is it still HTML, or just a fragment?

> I'm not going to dig deeper into this though, since I don't really
> see the point in this exercise :-)

It's an interesting diversion (and more pleasant than the content of
another composition window I have open :-( ).

Mike

--
Michael Winter
Prefix subject with [News] before replying by e-mail.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация