Mercurial > dive4elements > river
diff artifacts/doc/conf/meta-data.xml @ 7548:caac73208745
Workaround for flys/issue1675: Guarantee that the years are always between 0 and 9999 in macro 'minfo-heights'.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Tue, 12 Nov 2013 15:37:38 +0100 |
parents | 25d890e3eb69 |
children | 783b295c35d3 |
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml Fri Nov 08 18:26:55 2013 +0100 +++ b/artifacts/doc/conf/meta-data.xml Tue Nov 12 15:37:38 2013 +0100 @@ -1615,14 +1615,16 @@ dc:find-all( '\d{4}', dc:replace-all( - $diffids, '[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}', '')))" + concat($diffids, 'X0000'), + '[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}', '')))" type="number"/> <dc:variable name="year_to" expr=" dc:max-number( dc:find-all( '\d{4}', dc:replace-all( - $diffids, '[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}', '')))" + concat($diffids, 'X9999'), + '[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}', '')))" type="number"/> </dc:when> <dc:otherwise>