-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
justification annex in ITU contrbibutions: #514
- Loading branch information
Showing
3 changed files
with
108 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1429,11 +1429,107 @@ | |
<p>This is the first clause</p> | ||
</clause> | ||
</sections> | ||
</itu-standard>` | ||
<annex id="A1" displayorder="4"> | ||
<title> | ||
<strong>Annex A</strong> | ||
<br/> | ||
<br/> | ||
<strong>Annex</strong> | ||
</title> | ||
</annex> | ||
<annex id="A2" type="justification" displayorder="5"> | ||
<title> | ||
<strong>Annex B</strong> | ||
<br/> | ||
<br/> | ||
<strong>A.13 justification for proposed draft new SG17-C1000 “Main Title”</strong> | ||
</title> | ||
<table class="contribution-metadata" unnumbered="true" width="100%"> | ||
<colgroup> | ||
<col width="15.9%"/> | ||
<col width="6.1%"/> | ||
<col width="45.5%"/> | ||
<col width="17.4%"/> | ||
<col width="15.1%"/> | ||
</colgroup> | ||
<tbody> | ||
<tr> | ||
<th align="left">Question(s):</th> | ||
<td/> | ||
<th align="left">Proposed new ITU-T </th> | ||
<td>iKronos, 01 Jan 2000/02 Jan 2000</td> | ||
</tr> | ||
<tr> | ||
<th align="left">Reference and title:</th> | ||
<td colspan="4">Draft new on “Main Title”</td> | ||
</tr> | ||
<tr> | ||
<th>Base text:</th> | ||
<td colspan="2"/> | ||
<th>Timing:</th> | ||
<td/> | ||
</tr> | ||
<tr> | ||
<th rowspan="2">Editor(s):</th> | ||
<td colsoan="2">Fred Flintstone<br/> | ||
Bedrock Quarry<br/> | ||
Canada, | ||
E-mail<tab/>[email protected] | ||
</td> | ||
<th rowspan="2">Approval process:</th> | ||
<td> | ||
<td/> | ||
</td> | ||
<tr> | ||
<td colspan="2">Barney Rubble<br/> | ||
Bedrock Quarry 2<br/> | ||
USA, | ||
E-mail<tab/>[email protected] | ||
</td> | ||
</tr> | ||
<tr> | ||
<td colspan="2"><br/><br/> | ||
, | ||
E-mail<tab/></td> | ||
</tr> | ||
<tr> | ||
<td colspan="5"> | ||
<p><strong>Scope</strong> (defines the intent or object of the Recommendation and the aspects covered, thereby indicating the limits of its applicability):</p> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td colspan="5"> | ||
<p><strong>Summary</strong> (provides a brief overview of the purpose and contents of the Recommendation, thus permitting readers to judge its usefulness for their work):</p> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td colspan="5"> | ||
<p><strong>Relations to ITU-T Recommendations or to other standards</strong> (approved or under development):</p> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td colspan="5"> | ||
<p> | ||
<strong>Liaisons with other study groups or with other standards bodies:</strong> | ||
</p> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td colspan="5"> | ||
<p> | ||
<strong>Supporting members that are committing to contributing actively to the work item:</strong> | ||
</p> | ||
</td> | ||
</tr> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</annex> | ||
</itu-standard> | ||
OUTPUT | ||
xml = Nokogiri::XML(IsoDoc::ITU::PresentationXMLConvert.new(presxml_options) | ||
.convert("test", input, true)) | ||
xml = xml.xpath("//xmlns:preface | //xmlns:sections").to_xml | ||
xml = xml.xpath("//xmlns:preface | //xmlns:sections | //xmlns:annex").to_xml | ||
expect(xmlpp(strip_guid("<itu-standard>#{xml}</itu-standard>"))) | ||
.to be_equivalent_to xmlpp(presxml) | ||
|
||
|