php - zend specified doctype is malformed errord -


Then I was trying to add RDFA propagation to the flag by typing the following in my layout.phtml ...

  $ doctypeHelper = new Zend_View_Helper_Doctype (); $ DoctypeHelper-> Doctype ('XHTML1_RDFA');   

so that I can use the headmethod eta-> appendproperty () function ... but then it will return the error:

  Fatal error : Undiscovered exception 'The specified doctype is incorrect' with the message 'Zend_View_Exception'   

How do I resolve it?

I would bet that your Zend framework is before version 1.11.2, because this error is only Comes if the text passed to the DocType function is not recognized.

It goes through an array of basically recognized theories and if your input does not match any array, then checks to see if you have the correct format The encrypted string is done (to set the methodology manually). If your string does not validate then it throws an exception.

If you are curious, you can see it in the functioning function in the code:

Comments