relaton / relaton-iso

RelatonIso: ISO Standards metadata using the BibliographicItem model
BSD 2-Clause "Simplified" License
2 stars 1 forks source link

Missing OPB URI and editorial groups #154

Closed opoudjis closed 10 months ago

opoudjis commented 10 months ago

I have just had massive differences come up in my metanorma-standoc spec in the ISO references being fetched. Please confirm that these changes are legitimate.

I am very concerned that these changes are not being picked up in rspec of this gem, which I have just run. They must be.

opoudjis commented 10 months ago

Before and after example: ISO 123:2001:

Before:

       <bibdata type="standard">
         <fetched/>
         <title type="title-intro" format="text/plain" language="en" script="Latn">Rubber latex</title>
         <title type="title-main" format="text/plain" language="en" script="Latn">Sampling</title>
         <title type="main" format="text/plain" language="en" script="Latn">Rubber latex - Sampling</title>
         <uri type="src">https://www.iso.org/standard/23281.html</uri>
         <uri type="obp">https://www.iso.org/obp/ui/en/#!iso:std:23281:en</uri>
         <uri type="rss">https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
         <docidentifier type="ISO" primary="true">ISO 123:2001</docidentifier>
         <docidentifier type="iso-reference">ISO 123:2001(E)</docidentifier>
         <docidentifier type="URN">urn:iso:std:iso:123:stage-90.93:ed-3</docidentifier>
         <docnumber>123</docnumber>
         <date type="published">
           <on>2001-05</on>
         </date>
         <contributor>
           <role type="publisher"/>
           <organization>
             <name>International Organization for Standardization</name>
             <abbreviation>ISO</abbreviation>
             <uri>www.iso.org</uri>
           </organization>
         </contributor>
         <edition>3</edition>
         <language>en</language>
         <script>Latn</script>
         <abstract format="text/plain" language="en" script="Latn">
         This International Standard specifies procedures for sampling natural rubber
         latex concentrate and for sampling synthetic rubber latices and artificial
         latices. It is also suitable for sampling rubber latex contained in drums,
         tank cars or tanks. The procedures may also be used for sampling plastics
         dispersions.
       </abstract>
         <status>
           <stage>90</stage>
           <substage>93</substage>
         </status>
         <copyright>
           <from>2001</from>
           <owner>
             <organization>
               <name>ISO</name>
             </organization>
           </owner>
         </copyright>
         <relation type="obsoletes">
           <bibitem type="standard">
             <formattedref format="text/plain">ISO 123:1985</formattedref>
             <docidentifier type="ISO" primary="true">ISO 123:1985</docidentifier>
           </bibitem>
         </relation>
         <place>Geneva</place>
         <ext>
           <doctype>international-standard</doctype>
           <editorialgroup>
             <technical-committee number="45" type="TC" identifier="ISO/TC 45/SC 3">Raw materials (including latex) for use in the rubber industry</technical-committee>
           </editorialgroup>
           <ics>
             <code>83.040.10</code>
             <text>Latex and raw rubber</text>
           </ics>
           <structuredidentifier type="ISO">
             <project-number>ISO 123</project-number>
           </structuredidentifier>
         </ext>
       </bibdata>

After:

       <bibdata type="standard">
         <fetched/>
         <title type="title-main" format="text/plain" language="en" script="Latn">Rubber latex</title>
         <title type="main" format="text/plain" language="en" script="Latn">Rubber latex</title>
         <uri type="src">https://www.iso.org/standard/23281.html</uri>
         <uri type="rss">https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
         <docidentifier type="ISO" primary="true">ISO 123:2001</docidentifier>
         <docidentifier type="iso-reference">ISO 123:2001(E)</docidentifier>
         <docidentifier type="URN">urn:iso:std:iso:123:stage-90.93:ed-3</docidentifier>
         <docnumber>123</docnumber>
         <date type="published">
           <on>2001-05</on>
         </date>
         <contributor>
           <role type="publisher"/>
           <organization>
             <name>International Organization for Standardization</name>
             <abbreviation>ISO</abbreviation>
             <uri>www.iso.org</uri>
           </organization>
         </contributor>
         <edition>3</edition>
         <language>en</language>
         <script>Latn</script>
         <abstract format="text/plain" language="en" script="Latn">This International Standard specifies procedures for sampling natural rubber latex concentrate and for sampling synthetic
       rubber latices and artificial latices. It is also suitable for sampling rubber latex contained in drums, tank cars or
       tanks. The procedures may also be used for sampling plastics dispersions.</abstract>
         <status>
           <stage>90</stage>
           <substage>93</substage>
         </status>
         <copyright>
           <from>2001</from>
           <owner>
             <organization>
               <name>ISO</name>
             </organization>
           </owner>
         </copyright>
         <relation type="obsoletes">
           <bibitem type="standard">
             <formattedref format="text/plain">ISO 123:1985</formattedref>
             <docidentifier type="ISO" primary="true">ISO 123:1985</docidentifier>
           </bibitem>
         </relation>
         <place>Geneva</place>
         <ext>
           <doctype>international-standard</doctype>
           <structuredidentifier type="ISO">
             <project-number>ISO 123</project-number>
           </structuredidentifier>
         </ext>
       </bibdata>
opoudjis commented 10 months ago

Also, fetch by ISO URI is no longer working:

iso:std:iso:13485:en is now generating the error

[relaton-iso] (iso:std:iso:13485:en) Is not recognized as a standards identifier.

andrew2net commented 10 months ago

@opoudjis ISO has changed the documents' page template. Working on this issue.

opoudjis commented 10 months ago

Yeah, thought so. Thank you. Will hold off on release until this is resolved, but I prob won't get to it Monday anyway.

andrew2net commented 10 months ago

It also was missed ICS. Fixed in v1.16.2.