Ticket #3922 (new defect)

Opened 3 years ago

Last modified 3 years ago

Issues with DOCTYPE in template

Reported by: tmb Owned by:
Priority: Would be nice Milestone: EPrints 3.2.10
Component: XML Version: 3.2
Severity: normal Keywords:
Cc:

Description

Note this may be more a curiosity than a bug

In lang/en/templates/default.xml, replace the default DOCTYPE with:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Now bin/epadmin test - this hangs for several seconds. Suspect something trying to fetch the DTD? Affects any command that loads config, including apache startup.

Is there a fix in case anyone unintentionally introduces a different DOCTYPE as was the case here.

Change History

Changed 3 years ago by tmb

Yes, it seems to be trying to fetch the DTD and timing out.

Note: See TracTickets for help on using tickets.