Author: andreas
Date: Tue Nov 13 08:08:29 2007
New Revision: 594568
URL: http://svn.apache.org/viewvc?rev=594568&view=rev
Log:
Replaced FIXME with comment about title in language-exists action block
Modified:
lenya/trunk/src/pubs/default/sitemap.xmap
Modified: lenya/trunk/src/pubs/default/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/sitemap.xmap?rev=594568&r1=594567&r2=594568&view=diff
==============================================================================
--- lenya/trunk/src/pubs/default/sitemap.xmap (original)
+++ lenya/trunk/src/pubs/default/sitemap.xmap Tue Nov 13 08:08:29 2007
@@ -211,7 +211,12 @@
<map:parameter name="nodeName" value="{page-envelope:document-name}"/>
</map:transform>
- <!-- FIXME: why is the title handling inside a language-exists action? please document! -->
+ <!--
+ The stylesheet above has no chance to check if the document exists, so it
+ inserts the title "404 (Page not found)" into the page.
+ If the document exists in the requested language, the title is now replaced by
+ the actual dublin core title.
+ -->
<map:act type="language-exists">
<map:transform src="fallback://xslt/addXhtmlTitle.xsl">
<map:parameter name="title" value="{dublincore:title}"/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.