File tree 2 files changed +26
-1
lines changed
2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ sect5:s
320
320
<xsl : number count =" *[local-name() = $node-name and @data-type = $node-data-type]" format =" 01" />
321
321
<xsl : if test =" $original-call = 1" >
322
322
<!-- ToDo: Parameterize me to allow use of different filename extension? -->
323
- <xsl : text >.html </xsl : text >
323
+ <xsl : text >.xhtml </xsl : text >
324
324
</xsl : if >
325
325
</xsl : for-each >
326
326
</xsl : template >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+
3
+ <x : description xmlns : x =" http://www.jenitennison.com/xslt/xspec"
4
+ xmlns : functx =" http://www.functx.com"
5
+ xmlns =" http://www.w3.org/1999/xhtml"
6
+ xmlns : ncx =" http://www.daisy.org/z3986/2005/ncx/"
7
+ xmlns : h =" http://www.w3.org/1999/xhtml"
8
+ xmlns : e =" http://github.com/oreillymedia/epubrenderer"
9
+ xmlns : htmlbook =" https://github.com/oreillymedia/HTMLBook"
10
+ stylesheet =" ../chunk.xsl" >
11
+
12
+ <x : scenario
13
+ label =" When calling output-filename-for-chunk"
14
+ pending =" We received an error when trying to run this scenario.
15
+ We were using the Saxon JAR file version SAXON HE 9.5.1.2
16
+ and the script from https://github.com/xspec/xspec." >
17
+ <x : call template =" output-filename-for-chunk" >
18
+ <x : param name =" node" >
19
+ <section data-type =" chapter" />
20
+ </x : param >
21
+ </x : call >
22
+ <x : expect label =" the file extension should be .xhtml" >ch01.xhtml</x : expect >
23
+ </x : scenario >
24
+
25
+ </x : description >
You can’t perform that action at this time.
0 commit comments