Actions
Bug #3866
closedError message missing on xml parsing failed + default rendering
Start date:
01/25/2013
Due date:
% Done:
100%
Estimated time:
Description
In the navbar view of the console, if we add a second element in the navbar.xsl to make the view non xml valid (without root) no message is shown
when lavoisier/navbar is called. In the browser view is simply empty, however CTRL+U is showing the code
broken navabar.xsl :
<xsl:template match="/"> <div class="navbar navbar-fixed-top"> <div class="navbar-inner"> <div class="container"> <a class="brand" href="#">LAVOISIER CONSOLE</a> <ul class="nav"> <li> <a href="/lavoisier">Home</a> </li> <xsl:apply-templates select="/e:entries/e:entry"/> <xsl:variable name="catTest" select="concat('/lavoisier/category/cfg:config/cfg:view[cfg:info/cfg:category/text() !=', /e:entries/e:entry)"/> <li> <a> <xsl:attribute name="href"> <xsl:text/>/lavoisier/category/cfg:config/cfg:view[not(cfg:info/cfg:category/text()='Hidden' <xsl:apply-templates select="/e:entries/e:entry" mode="catList"/>)] </xsl:attribute> User </a> </li> </ul> </div> </div> </div> <!-- this line added to make it no more XML valid --> <div class="container" style="margin-top:80px">2nd child</div> </xsl:template>
Updated by Reynaud Sylvain over 12 years ago
- Status changed from New to Resolved
- Assigned To set to Reynaud Sylvain
- % Done changed from 0 to 100
Exception is now thrown if extra element is detected at the end of the document
Actions