Not sure if this qualifies as a bug. I am looking for some comments or advice...
The XMLUI has a utility class org.dspace.app.xmlui.aspect.general.NoticeTransformer that facilitates adding a simple 'Notice' div to a page. Unfortunately this transformer is always invoked by the Administrative sitemap...
<map:match type="WildcardParameterMatcher" pattern="true">
<map:parameter name="parameter-name" value="notice"/>
<map:parameter name="notice" value="
This prevents the reuse of NoticeTransformer in other aspects and breaks the notion of each aspect being independent. Either the class should be moved out of the 'general' package and into an 'administrative' package, or, the class should only be invoked in the Administrative sitemap if the content was generated in the Administrative aspect. This could be achieved by adding a match against the url ...
This would be my preferred option but it might break any customisations that have been done relying on the fact that the Admin aspect would always add any Notices.