ZF2-401: Add support for RDFa 1.1 doctype
Description
The doctype for RDFa 1.0 is currently supported in the Doctype view helper (Zend\View\Helper\Doctype).
Since 7. June 2012 RDFa 1.1 is now a formal W3C recommendation: http://www.w3.org/TR/xhtml-rdfa/
It would be great support for its doctype could be added. This would allow the use of various new metainformation attributes (vocab, etc).
Patch: File: Doctype.php
Add (line 31) const XHTML1_RDFA11 = 'XHTML1_RDFA11';
Add (line 72 + 1) self::XHTML1_RDFA11 => 'ofollow" href="www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">',
Add (Line 126 + 2) case self::XHTML1_RDFA11:
Comments
Posted by Frank Brückner (frosch) on 2012-07-18T16:54:24.000+0000
Pull Request #1921
Posted by Evan Coury (evan.pro) on 2012-07-20T15:24:02.000+0000
Merged, thanks!