Moodle

DOCTYPE is declared twice when turn on the 'usexml' option in "print_header_simple" function

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.0
  • Fix Version/s: None
  • Component/s: Libraries
  • Labels:
    None
  • Environment:
    Firefox 3
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_20_STABLE

Description

When we turn on "usexml " in the "print_header_simple" call function (in the view.php of an activity), there are 2 declarations of DOCTYPE which cause a bug.

The first declaration is in the "print_header" function (when use the xhtml+xml option), the second in the top of "header.html".
I think the first declaration may be deleted.
"print_header" is in the weblib.php file

Speaking at http://moodle.org/mod/forum/discuss.php?d=101255

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: