To get more indepth into what I mean. If I have a page that has a need_res section in the BODY section of the code, then in the head section of my site scheme I have my LJ::included_res(); line, the res_includes that the .bml file specified don't get carried up into the head section.
But if the BML file does a large _code section the sends those results as $head $title $body, etc to the HEAD BODY TITLE or whatever sections everything works as expected. In .bml files that are experinecing this, I can prove that the data is getting to LJ::need_res, by running LJ::included_res();
This is a long standing problem and I've finally tracked down the exact symptoms but still don't know the root cause. Now I have seen this behavior on some LJ sites, just not all of them. I am sure it is a configuration error somewhere. Would it be possible to get someone who know the complexities of BML a little bit better than I do to help me look into this as I would love to get this issue resolved.