Hello all, I'm not able to build my site anymore, due to the following error:
X [0] linkmap.html BROKEN: ElemTemplateElement error: carry-body-attribs I was finally able to track down the cause of the error being the commit r887050. I haven't identified this earlier since I hadn't been updating my Forrest instance in a while, and then didn't have time to track down the error earlier. Tracking down ... that's kind of an overstatement, since the actual bug is not found. The thing is, this bug does NOT display using a regular seed. I can only trigger this bug using my own site. And this commit was a massive one, with 47 files being modified. But grepping for carry-body-attribs, there are only two matches among the modified files: a83-245-189-120:main sjur$ grep -r 'carry-body-attribs' * | grep -v '\.svn' | cut -d':' -f1 | sort -u webapp/skins/common/xslt/html/document-to-html.xsl <--- not modified webapp/skins/common/xslt/html/site-to-xhtml.xsl <--- not modified webapp/skins/pelt/xslt/html/document-to-html.xsl webapp/skins/pelt/xslt/html/site-to-xhtml.xsl and the only changes to these two files are: a83-245-189-120:main sjur$ svn diff -c 887050 webapp/skins/pelt/xslt/html/document-to-html.xsl Index: webapp/skins/pelt/xslt/html/document-to-html.xsl =================================================================== --- webapp/skins/pelt/xslt/html/document-to-html.xsl (revision 887049) +++ webapp/skins/pelt/xslt/html/document-to-html.xsl (revision 887050) @@ -20,7 +20,7 @@ imported document-to-html.xsl for details. --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - <xsl:import href="../../../common/xslt/html/document-to-html.xsl"/> + <xsl:import href="lm://transform.skin.common.html.document-to-html"/> <xsl:template match="document"> <meta-data> <xsl:apply-templates select="header/meta"/> a83-245-189-120:main sjur$ svn diff -c 887050 webapp/skins/pelt/xslt/html/site-to-xhtml.xsl Index: webapp/skins/pelt/xslt/html/site-to-xhtml.xsl =================================================================== --- webapp/skins/pelt/xslt/html/site-to-xhtml.xsl (revision 887049) +++ webapp/skins/pelt/xslt/html/site-to-xhtml.xsl (revision 887050) @@ -35,7 +35,7 @@ --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:i18n="http://apache.org/cocoon/i18n/2.1" exclude-result-prefixes="i18n"> - <xsl:import href="../../../common/xslt/html/site-to-xhtml.xsl"/> + <xsl:import href="lm://transform.skin.common.html.site-to-xhtml"/> <!--+ |Overall site template +--> That is, using LM instead of relative paths. It seems pretty harmless, so this error puzzles me. The only explanation I can think of is that by changing to using LM refs instead of path refs, that the included file is somehow changed, ie the LM resolves differently than the previous path reference, and the new file somehow cause the bug. I also assume that the bug is related to https://issues.apache.org/jira/browse/FOR-1167 which introduced this attribute. Any comments or insights would be very appreciated. Sjur