From: Bob Stayton Date: Fri, 27 Feb 2009 07:06:57 +0000 (+0000) Subject: Now handles year element containing a comma or dash without error. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eaf6861833777d8b8a8deb71fad55bc08cd54cd8;p=docbook-dsssl Now handles year element containing a comma or dash without error. --- diff --git a/xsl/params/make.year.ranges.xml b/xsl/params/make.year.ranges.xml index 8272ade1d..b1a238267 100644 --- a/xsl/params/make.year.ranges.xml +++ b/xsl/params/make.year.ranges.xml @@ -23,9 +23,10 @@ collated into ranges. This works only if each year number is put into a separate year element. The copyright element permits multiple -year elements. The stylesheet will not successfully parse -a complex year element such as <year>2001,2002,2003</year> into -a range. +year elements. If a year element contains a dash or +a comma, then that year element will not be merged into +any range. +