From d9467d86171a1dfd7bc0ead327a427b5aa806f34 Mon Sep 17 00:00:00 2001 From: Bob Stayton Date: Sat, 3 Nov 2012 05:35:28 +0000 Subject: [PATCH] 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. --- xsl/epub3/epub3-element-mods.xsl | 57 ++++++++++++++++++++------------ 1 file changed, 36 insertions(+), 21 deletions(-) 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 - + + + + -- 2.40.0