spec/isodoc/xref_spec.rb in isodoc-1.5.4 vs spec/isodoc/xref_spec.rb in isodoc-1.5.5
- old
+ new
@@ -2581,13 +2581,14 @@
</p>
</clause>
<terms id="terms"/>
<clause id="widgets"><title>Widgets</title>
<clause id="widgets1">
- <p id="note1l" type="alphabet">
+ <note id="note0"/>
+ <note id="note1l" type="alphabet">
<bookmark id="note1"/>
-</p>
+</note>
<p id="note2l" type="roman_upper">
<bookmark id="note2"/>
</p>
</clause>
</clause>
@@ -2597,13 +2598,13 @@
<p id="ANl" type="alphabet_upper">
<bookmark id="AN"/>
</p>
</clause>
<clause id="annex1b">
- <p id="Anote1l" type="roman" start="4">
+ <figure id="Anote1l" type="roman" start="4">
<bookmark id="Anote1"/>
-</p>
+</figure>
<p id="Anote2l">
<bookmark id="Anote2"/>
</p>
</clause>
</annex>
@@ -2614,14 +2615,14 @@
<foreword>
<p>
<xref target='N1'>Introduction</xref>
<xref target='N2'>Preparatory</xref>
<xref target='N'>Clause 1</xref>
- <xref target='note1'>Clause 3.1</xref>
+ <xref target='note1'>Note 2</xref>
<xref target='note2'>Clause 3.1</xref>
<xref target='AN'>Annex A.1</xref>
- <xref target='Anote1'>Annex A.2</xref>
+ <xref target='Anote1'>Figure A.1</xref>
<xref target='Anote2'>Annex A.2</xref>
</p>
</foreword>
<introduction id='intro'>
<p id='N01'>
@@ -2655,13 +2656,17 @@
<tab/>
Widgets
</title>
<clause id='widgets1'>
<title>3.1.</title>
- <p id='note1l' type='alphabet'>
+ <note id='note0'>
+ <name>NOTE 1</name>
+ </note>
+ <note id='note1l' type='alphabet'>
+ <name>NOTE 2</name>
<bookmark id='note1'/>
- </p>
+ </note>
<p id='note2l' type='roman_upper'>
<bookmark id='note2'/>
</p>
</clause>
</clause>
@@ -2678,12 +2683,13 @@
<bookmark id='AN'/>
</p>
</clause>
<clause id='annex1b'>
<title>A.2.</title>
- <p id='Anote1l' type='roman' start='4'>
+ <figure id='Anote1l' type='roman' start='4'>
+ <name>Figure A.1</name>
<bookmark id='Anote1'/>
- </p>
+ </figure>
<p id='Anote2l'>
<bookmark id='Anote2'/>
</p>
</clause>
</annex>