Skip to content

Commit fd95d8d

Browse files
committed
Updating Test to Match New xref-number-and-title Format
Although we could not get this particular test to work, I've updated the <x:expect> elements to match the new format in case we can get it working in the future.
1 parent 7398d69 commit fd95d8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

htmlbook-xsl/xspec/xrefgen.xspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1419,21 +1419,21 @@ and the script from https://github.com/xspec/xspec.">
14191419
We were using the Saxon JAR file version SAXON HE 9.5.1.2
14201420
and the script from https://github.com/xspec/xspec.">
14211421
<x:context select="//h:a[@id='chap-num-title-xref']"/>
1422-
<x:expect label="it should return chapter label, number, and title"><a href="#awesome_chap" id="chap-num-title-xref" data-type="xref" data-xrefstyle="chap-num-title" data-xref-pagenum-style="...">Chapter&#xa0;1, <em>AWESOME CHAPTER</em></a></x:expect>
1422+
<x:expect label="it should return chapter label, number, and title"><a href="#awesome_chap" id="chap-num-title-xref" data-type="xref" data-xrefstyle="chap-num-title" data-xref-pagenum-style="...">Chapter&#xa0;1, AWESOME CHAPTER</a></x:expect>
14231423
</x:scenario>
14241424

14251425
<x:scenario label="of 'app-num-title'" pending="We received an error when trying to run this scenario.
14261426
We were using the Saxon JAR file version SAXON HE 9.5.1.2
14271427
and the script from https://github.com/xspec/xspec.">
14281428
<x:context select="//h:a[@id='app-num-title-xref']"/>
1429-
<x:expect label="it should return appendix label, number, and title"><a href="#awesome_app" id="app-num-title-xref" data-type="xref" data-xrefstyle="app-num-title" data-xref-pagenum-style="...">Appendix&#xa0;A, <em>Appendix Title</em></a></x:expect>
1429+
<x:expect label="it should return appendix label, number, and title"><a href="#awesome_app" id="app-num-title-xref" data-type="xref" data-xrefstyle="app-num-title" data-xref-pagenum-style="...">Appendix&#xa0;A, Appendix Title</a></x:expect>
14301430
</x:scenario>
14311431

14321432
<x:scenario label="of 'part-num-title'" pending="We received an error when trying to run this scenario.
14331433
We were using the Saxon JAR file version SAXON HE 9.5.1.2
14341434
and the script from https://github.com/xspec/xspec.">
14351435
<x:context select="//h:a[@id='part-num-title-xref']"/>
1436-
<x:expect label="it should return part label, number, and title"><a href="#awesome_part" id="part-num-title-xref" data-type="xref" data-xrefstyle="part-num-title" data-xref-pagenum-style="...">Part&#xa0;I, <em>I'm Part of the Solution!</em></a></x:expect>
1436+
<x:expect label="it should return part label, number, and title"><a href="#awesome_part" id="part-num-title-xref" data-type="xref" data-xrefstyle="part-num-title" data-xref-pagenum-style="...">Part&#xa0;I, I'm Part of the Solution!</a></x:expect>
14371437
</x:scenario>
14381438

14391439
<x:scenario label="of 'select:nopage'" pending="We received an error when trying to run this scenario.

0 commit comments

Comments
 (0)