Reply to Re: Is the end of HTML as we know it?

Your name:

Reply:


Posted by David Dorward on 11/05/07 10:08

On Nov 4, 5:19 pm, Bone Ur <monstersquas...@yahoo.com> wrote:

> Did you ever notice that most of what the w3c recommends is a restriction
> rather than an enhancement? Such policies are supposed to make things work
> better, which they may do about half the time - maybe. From what I recall,
> one cannot use the javascript method "document.write" in xhtml

That is just due to the way browsers have implemented it, not a
requirement of the specification.

> and you have to put something like [[CDATA && ]] (?) near the element terminators.

XML is simpler than SGML and doesn't have a means of saying "Ignore <
and & characters inside <foo> elments". This means XML can be parsed
without needing access to a DTD, and that XML parsers can be smaller
and faster than SGML parsers.

> Another of my favorites is the requirement of slash terminators for
> unclosed elements.

Ditto. You don't need a DTD to find out if the element is finished or
not.

(For all the above, read "DTD" as "DTD or another means of knowing the
specific XML dialect")

--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/

[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

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