This code makes my site totally invalid:

<span id="thmr_394" class="thmr_call">
  <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">

...

</html>
</span>
<br />
<b>Fatal error</b>:  Allowed memory size of 37748736 bytes exhausted (tried to allocate 7882206 bytes) in <b>C:\Inetpub\wwwroot\drupal6\includes\common.inc</b> on line <b>2300</b><br />

Aside how much memory does devel require? We should add hook_requirement()...

Comments

hass’s picture

Component: devel » devel_themer
moshe weitzman’s picture

Status: Active » Closed (works as designed)
hass’s picture

Status: Closed (works as designed) » Active

Moshe, why are you marking as by design? Wrong HTML code is by design? Are you really sure?

moshe weitzman’s picture

Status: Active » Closed (works as designed)

invalid HTML is by design here. this is not meant for production use.

hass’s picture

However this is for production or not - isn't there no way to get this fixed? If not i'm made to turn of devel_themer while developing only to figure out if my site is valid... this makes the module unusable, while a validator should be in place - every time.

moshe weitzman’s picture

no, it isn't possible to fix and still give info on page.tpl.php theme call. just disable this module before validating. there is a handy link in the devel block. i disagree that makes the module "totally unusable" but if you think that, don't use it.

hass’s picture

It's not unusable, while i cannot switch off/on in practical use the submodule every two seconds to get a validation in parallel.