cvs: pear /HTML_Page/Page Doctypes.php

From: Date: Sat, 12 Jul 2003 06:45:33 +0000
Subject: cvs: pear /HTML_Page/Page Doctypes.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-11450@lists.php.net to get a copy of this message
thesaur Sat Jul 12 02:45:33 2003 EDT Modified files: /pear/HTML_Page/Page Doctypes.php Log: add XHTML 2.0 (from latest w3c working draft) Index: pear/HTML_Page/Page/Doctypes.php diff -u pear/HTML_Page/Page/Doctypes.php:1.4 pear/HTML_Page/Page/Doctypes.php:1.5 --- pear/HTML_Page/Page/Doctypes.php:1.4 Fri Jun 13 13:11:15 2003 +++ pear/HTML_Page/Page/Doctypes.php Sat Jul 12 02:45:33 2003 @@ -16,13 +16,13 @@ // | Author: Klaus Guenther <klaus@capitalfocus.org> | // +----------------------------------------------------------------------+ // -// $Id: Doctypes.php,v 1.4 2003/06/13 17:11:15 thesaur Exp $ +// $Id: Doctypes.php,v 1.5 2003/07/12 06:45:33 thesaur Exp $ /** - * This file contains an array of doctype settings. + * This file contains an array of doctype declarations. * These declarations have been taken directly from the w3c website: * http://www.w3c.org/ - * + * */ // Array of defaults: @@ -62,6 +62,12 @@ $doctype['xhtml']['basic']['1.0'][] = '<!DOCTYPE html'; $doctype['xhtml']['basic']['1.0'][] = ' PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"'; $doctype['xhtml']['basic']['1.0'][] = ' "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">'; + +// XHTML 2.0 +// from the W3C Working Draft 6 May 2003 +$doctype['xhtml']['2.0'][] = '<!DOCTYPE html'; +$doctype['xhtml']['2.0'][] = ' PUBLIC "-//W3C//DTD XHTML 2.0//EN"'; +$doctype['xhtml']['2.0'][] = ' "TBD">'; // HTML 4.01 Strict $doctype['html']['4.01']['strict'][] = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"';

« previous php.pear.cvs (#11450) next »