comparison 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
comparison
equal deleted inserted replaced
7547:39eb0b399995 7548:caac73208745
1613 <dc:variable name="year_from" expr=" 1613 <dc:variable name="year_from" expr="
1614 dc:min-number( 1614 dc:min-number(
1615 dc:find-all( 1615 dc:find-all(
1616 '\d{4}', 1616 '\d{4}',
1617 dc:replace-all( 1617 dc:replace-all(
1618 $diffids, '[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}', '')))" 1618 concat($diffids, 'X0000'),
1619 '[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}', '')))"
1619 type="number"/> 1620 type="number"/>
1620 <dc:variable name="year_to" expr=" 1621 <dc:variable name="year_to" expr="
1621 dc:max-number( 1622 dc:max-number(
1622 dc:find-all( 1623 dc:find-all(
1623 '\d{4}', 1624 '\d{4}',
1624 dc:replace-all( 1625 dc:replace-all(
1625 $diffids, '[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}', '')))" 1626 concat($diffids, 'X9999'),
1627 '[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}', '')))"
1626 type="number"/> 1628 type="number"/>
1627 </dc:when> 1629 </dc:when>
1628 <dc:otherwise> 1630 <dc:otherwise>
1629 <dc:comment>Just show everything</dc:comment> 1631 <dc:comment>Just show everything</dc:comment>
1630 <dc:variable name="year_to" expr="9999" type="number"/> 1632 <dc:variable name="year_to" expr="9999" type="number"/>

http://dive4elements.wald.intevation.org