Zend Framework

error.phtml produced with invalid doctype

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.8.2
  • Fix Version/s: 1.8.4
  • Component/s: Zend_Tool
  • Labels:
    None

Description

The error.phtml generated by Zend_Tool, unlike the other view scripts, tries to pass itself off as being XHTML 1.0 Strict - however brave an attempt, the doctype that is produced is invalid. There are two issues with it:

1. There should not be a ; between the two parts.
2. The final double-quote is missing.

To fix this, change the doctype in error.phtml from: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"; "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd>
Into: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

Validator error for the semicolon: character ";" invalid: only delimiter ">", delimiter "[", system identifier, "CDATA", "NDATA", "SDATA" and parameter separators allowed

Activity

Hide
Satoru Yoshida added a comment -

Solved in SVN r16012

Show
Satoru Yoshida added a comment - Solved in SVN r16012

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: