ZF2-401: Add support for RDFa 1.1 doctype

Issue Type: New Feature Created: 2012-07-17T05:14:16.000+0000 Last Updated: 2012-07-20T15:24:02.000+0000 Status: Resolved Fix version(s): Reporter: Mat Berchtold (mberchtold) Assignee: Frank Br├╝ckner (frosch) Tags: - Zend\View

  • doctype
  • rdfa

Related issues: Attachments:


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:

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="">">',

Add (Line 126 + 2) case self::XHTML1_RDFA11:


Posted by Frank Br├╝ckner (frosch) on 2012-07-18T16:54:24.000+0000

Pull Request #1921

Posted by Evan Coury ( on 2012-07-20T15:24:02.000+0000

Merged, thanks!

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.