View Single Post
Old 01-17-2014, 07:23 AM   #10
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by kovidgoyal View Post
No, it is not mandatory, and in fact since the XML spec allows XML processors to not load externally defined DTDs, using it is unsafe in combination with named entities.

http://www.whatwg.org/specs/web-apps...html-documents
Sorry, I don't agree. On the W3schools site it clearly says about XHTML:
Quote:
* XHTML DOCTYPE is mandatory
*The XML namespace attribute in <html> is mandatory
This is clearly stated on the W3schools site: http://www.w3schools.com/html/html_xhtml.asp

Now, the DOCTYPE is not required to have a DTD, but that is another discussion.
Toxaris is offline   Reply With Quote