First some background (as far as I understand it): By editing a document in BXE the document is transfered to the client by using an URL with the pattern "*.bxe.html", this URL is matched by a pipeline in publication-sitemap.xmap which uses the standard aggregation to assemble the page. The navigation parts (tabs, breadcrumbs, ...) of the page are generated by a pipeline in the navigation.xmap sitemap, the pipeline uses the sitetree2nav.xsl stylesheet to process the sitemap and marks the current page with an attribute current="true". The current-attribute is used in the navigation parts of the page to show or hide parts of the navigation tree. The problem: The ".bxe" in the URL for the document seems to confuse the sitetree2nav.xsl stylesheet, this means a current-attribute is never set to true when I open a document for editing in BXE and my navigation is messed up in the editor view.
Created attachment 15596 [details] patch for navigation.xmap The proposed patch adds a new pipeline to navigation.xmap which removes the ".bxe" from the URL and calls the sitetree2nav.xsl stylesheet.
It looks good in 1.4-dev.