Jörn Nettingsmeier schrieb: > [EMAIL PROTECTED] wrote: >> Author: andreas >> Date: Thu Nov 1 02:05:09 2007 >> New Revision: 590939 >> >> URL: http://svn.apache.org/viewvc?rev=590939&view=rev >> Log: >> Add DublinCore.getTitle() with fallback to UUID if the title is null, >> avoids NPEs in usecase message generation > > does this mean we can get rid of the following action from > pubs/default/sitemap.xmap: > > <map:act type="language-exists"> > <map:transform src="fallback://xslt/addXhtmlTitle.xsl"> > <map:parameter name="title" value="{dublincore:title}"/> > </map:transform> > </map:act> > > and directly access the input module?
No, the input module would fail if the document doesn't exist. The method I added handles only the case where the title element value of an (existing) document is not set. -- Andreas -- Andreas Hartmann, CTO BeCompany GmbH http://www.becompany.ch --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
