From: Bob Stayton Date: Sat, 3 Nov 2012 05:35:28 +0000 (+0000) Subject: date strings now checked for valid format. X-Git-Tag: release/1.79.1~6^2~288 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9467d86171a1dfd7bc0ead327a427b5aa806f34;p=docbook-dsssl date strings now checked for valid format. Fix bug #3484378 so navMap pushes first level children to top level so included in nav progress bar. --- diff --git a/xsl/epub3/epub3-element-mods.xsl b/xsl/epub3/epub3-element-mods.xsl index c24ecc5be..3a7be6868 100644 --- a/xsl/epub3/epub3-element-mods.xsl +++ b/xsl/epub3/epub3-element-mods.xsl @@ -640,31 +640,41 @@ article toc,title,figure,table,example,equation YYYY, YYYY-MM or YYYY-MM-DD --> + - - + + + + - - - - - - - - - - - - - - - - - - + 1 + 1 + 1 + 1 + 0 + + + WARNING: wrong metadata date format: ' + + ' in element + + / + + . It must be in one of these forms: + YYYY, YYYY-MM, or YYYY-MM-DD. + + + + @@ -1814,6 +1824,7 @@ article toc,title,figure,table,example,equation + @@ -1924,7 +1935,11 @@ article toc,title,figure,table,example,equation - + + + +