spec/isodoc/xref_spec.rb in isodoc-1.2.4 vs spec/isodoc/xref_spec.rb in isodoc-1.2.5
- old
+ new
@@ -12,11 +12,11 @@
</foreword>
</preface>
</iso-standard
INPUT
<?xml version='1.0'?>
-<iso-standard xmlns='http://riboseinc.com/isoxml'>
+<iso-standard xmlns='http://riboseinc.com/isoxml' type="presentation">
<preface>
<foreword>
<p>
<xref target='a#b'>a#b</xref>
</p>
@@ -165,11 +165,11 @@
</clause>
</annex>
</iso-standard>
INPUT
<?xml version='1.0'?>
-<iso-standard xmlns='http://riboseinc.com/isoxml'>
+<iso-standard xmlns='http://riboseinc.com/isoxml' type="presentation">
<preface>
<foreword>
<p>
<xref target='N1'>Introduction, Note</xref>
<xref target='N2'>Preparatory, Note</xref>
@@ -375,11 +375,11 @@
</clause>
</annex>
</iso-standard>
INPUT
<?xml version='1.0'?>
- <iso-standard xmlns='http://riboseinc.com/isoxml'>
+ <iso-standard xmlns='http://riboseinc.com/isoxml' type="presentation">
<preface>
<foreword id='fwd'>
<p>
<xref target='N1'>Figure 1</xref>
<xref target='N2'>Figure (??)</xref>
@@ -544,11 +544,11 @@
</clause>
</annex>
</iso-standard>
INPUT
<?xml version='1.0'?>
- <iso-standard xmlns='http://riboseinc.com/isoxml'>
+ <iso-standard xmlns='http://riboseinc.com/isoxml' type="presentation">
<preface>
<foreword id='fwd'>
<p>
<xref target='N'>Figure 1</xref>
<xref target='note1'>Figure 1-1</xref>
@@ -682,11 +682,11 @@
</clause>
</annex>
</iso-standard>
INPUT
<?xml version='1.0'?>
-<iso-standard xmlns='http://riboseinc.com/isoxml'>
+<iso-standard xmlns='http://riboseinc.com/isoxml' type="presentation">
<preface>
<foreword>
<p>
<xref target='N1'>Introduction, Example</xref>
<xref target='N2'>Preparatory, Example (??)</xref>
@@ -842,11 +842,11 @@
</clause>
</annex>
</iso-standard>
INPUT
<?xml version='1.0'?>
-<iso-standard xmlns='http://riboseinc.com/isoxml'>
+<iso-standard xmlns='http://riboseinc.com/isoxml' type="presentation">
<preface>
<foreword>
<p>
<xref target='N1'>Introduction, Formula (1)</xref>
<xref target='N2'>Preparatory, Formula ((??))</xref>
@@ -1000,11 +1000,11 @@
</clause>
</annex>
</iso-standard>
INPUT
<?xml version='1.0'?>
-<iso-standard xmlns='http://riboseinc.com/isoxml'>
+<iso-standard xmlns='http://riboseinc.com/isoxml' type="presentation">
<preface>
<foreword>
<p>
<xref target='N1'>Introduction, Requirement 1</xref>
<xref target='N2'>Preparatory, Requirement (??)</xref>
@@ -1160,11 +1160,11 @@
</clause>
</annex>
</iso-standard>
INPUT
<?xml version='1.0'?>
-<iso-standard xmlns='http://riboseinc.com/isoxml'>
+<iso-standard xmlns='http://riboseinc.com/isoxml' type="presentation">
<preface>
<foreword>
<p>
<xref target='N1'>Introduction, Recommendation 1</xref>
<xref target='N2'>Preparatory, Recommendation (??)</xref>
@@ -1320,11 +1320,11 @@
</clause>
</annex>
</iso-standard>
INPUT
<?xml version='1.0'?>
- <iso-standard xmlns='http://riboseinc.com/isoxml'>
+ <iso-standard xmlns='http://riboseinc.com/isoxml' type="presentation">
<preface>
<foreword>
<p>
<xref target='N1'>Introduction, Permission 1</xref>
<xref target='N2'>Preparatory, Permission (??)</xref>
@@ -1463,11 +1463,11 @@
</permission>
</annex>
</iso-standard>
INPUT
<?xml version='1.0'?>
- <iso-standard xmlns='http://riboseinc.com/isoxml'>
+ <iso-standard xmlns='http://riboseinc.com/isoxml' type="presentation">
<preface>
<foreword>
<p>
<xref target='N1'>Clause 1, Permission 1</xref>
<xref target='N2'>Clause 1, Permission 1-1</xref>
@@ -1654,11 +1654,11 @@
</clause>
</annex>
</iso-standard>
INPUT
<?xml version='1.0'?>
-<iso-standard xmlns='http://riboseinc.com/isoxml'>
+<iso-standard xmlns='http://riboseinc.com/isoxml' type="presentation">
<preface>
<foreword>
<p>
<xref target='N1'>Table 1</xref>
<xref target='N2'>Table (??)</xref>
@@ -1829,11 +1829,11 @@
</terms>
</iso-standard>
INPUT
<?xml version='1.0'?>
-<iso-standard xmlns='http://riboseinc.com/isoxml'>
+<iso-standard xmlns='http://riboseinc.com/isoxml' type="presentation">
<preface>
<foreword>
<p>
<xref target='note1'>Clause 2.1, Note 1</xref>
<xref target='note2'>Clause 2.2, Note 1</xref>
@@ -1974,11 +1974,11 @@
</clause>
</bibliography>
</iso-standard>
INPUT
<?xml version='1.0'?>
- <iso-standard xmlns='http://riboseinc.com/isoxml'>
+ <iso-standard xmlns='http://riboseinc.com/isoxml' type="presentation">
<preface>
<foreword obligation='informative'>
<title>Foreword</title>
<p id='A'>
This is a preamble
@@ -2189,11 +2189,11 @@
</clause>
</annex>
</iso-standard>
INPUT
<?xml version='1.0'?>
- <iso-standard xmlns='http://riboseinc.com/isoxml'>
+ <iso-standard xmlns='http://riboseinc.com/isoxml' type="presentation">
<preface>
<foreword>
<p>
<xref target='N1'>Introduction, List</xref>
<xref target='N2'>Preparatory, List</xref>
@@ -2353,11 +2353,11 @@
</clause>
</annex>
</iso-standard>
INPUT
<?xml version='1.0'?>
- <iso-standard xmlns='http://riboseinc.com/isoxml'>
+ <iso-standard xmlns='http://riboseinc.com/isoxml' type="presentation">
<preface>
<foreword>
<p>
<xref target='N1'>Introduction, a)</xref>
<xref target='N2'>Preparatory, a)</xref>
@@ -2489,11 +2489,11 @@
</clause>
</sections>
</iso-standard>
INPUT
<?xml version='1.0'?>
-<iso-standard xmlns='http://riboseinc.com/isoxml'>
+<iso-standard xmlns='http://riboseinc.com/isoxml' type="presentation">
<preface>
<foreword>
<p>
<xref target='N'>Clause 1, a)</xref>
<xref target='note1'>Clause 1, a.1)</xref>
@@ -2590,11 +2590,11 @@
</figure>
</introduction>
</iso-standard>
INPUT
<?xml version='1.0'?>
-<iso-standard xmlns='http://riboseinc.com/isoxml'>
+<iso-standard xmlns='http://riboseinc.com/isoxml' type="presentation">
<preface>
<foreword id='fwd'>
<p>
<xref target='N1'>Figure 1</xref>
<xref target='N2'>Figure 2a</xref>
@@ -2708,10 +2708,10 @@
</figure>
</introduction>
</iso-standard>
INPUT
<?xml version='1.0'?>
-<iso-standard xmlns='http://riboseinc.com/isoxml'>
+<iso-standard xmlns='http://riboseinc.com/isoxml' type="presentation">
<preface>
<foreword id='fwd'>
<p>
<xref target='N1'>Figure 1</xref>
<xref target='N2'>Figure A</xref>