Closed ronaldtse closed 2 years ago
This is blocking https://github.com/metanorma/iso-19144-2/issues/5
@ronaldtse the iso.org/search doesn't find ISO 19105:2022
or ISO/PRF 19105
The documents it finds are
@andrew2net it's the second one. It is "under development", in stage "60.00".
We need a syntax to refer to the second one.
@andrew2net What do we do for a document that does not have year in the identifier?
Are we trying to ask users to use:
I have reported this issue to ISO to seek assistance.
@andrew2net What do we do for a document that does not have year in the identifier?
@ronaldtse I suggest to add year to identifier in case a reference has year, and identifier from title in search result doesn't have year, and metadata in search result has matched year.
The search result provided by Algolia API and contains title and other metadata. Titles start with identifier usually with year. Often the year in metadata doesn't match to year in title, so we use year form titles.
In case ISO 19105:2022
there isn't year in the title but year in the metadata is 2022
.
The only problem that pubid-iso gem makes docidentifier from title and don't allow to add year. I'm waiting for @mico to implement the docid.year=
method. If it's urgent I can implement the method or use #instance_variable_set
to workaround the issue.
I'm waiting for @mico to implement the docid.year= method. If it's urgent I can implement the method or use #instance_variable_set to workaround the issue.
@andrew2net can you directly PR in pubid-iso and then we can merge and release it? We do not have to wait for @mico .
@andrew2net can you clarify -- how do I cite this document? Can you document this somewhere?
I can confirm that it fetches.
bundle exec relaton fetch "ISO 19105:2022"
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
[relaton-iso] ("ISO 19105:2022") fetching...
[relaton-iso] ("ISO 19105:2022") found ISO 19105:2022
<bibitem id="ISO19105-2022" type="standard">
<fetched>2022-07-06</fetched>
<title type="title-intro" format="text/plain" language="en" script="Latn">Geographic information</title>
<title type="title-main" format="text/plain" language="en" script="Latn">Conformance and testing</title>
<title type="main" format="text/plain" language="en" script="Latn">Geographic information - Conformance and testing</title>
<title type="title-intro" format="text/plain" language="fr" script="Latn">Information géographique</title>
<title type="title-main" format="text/plain" language="fr" script="Latn">Conformité et essais</title>
<title type="main" format="text/plain" language="fr" script="Latn">Information géographique - Conformité et essais</title>
<uri type="src">https://www.iso.org/standard/76457.html</uri>
<uri type="rss">https://www.iso.org/contents/data/standard/07/64/76457.detail.rss</uri>
<docidentifier type="ISO" primary="true">ISO 19105:2022</docidentifier>
<docidentifier type="URN">urn:iso:std:iso:19105:stage-60.00:ed-2</docidentifier>
<docnumber>19105</docnumber>
<date type="published">
<on>2022-06</on>
</date>
<contributor>
<role type="publisher"/>
<organization>
<name>International Organization for Standardization</name>
<abbreviation>ISO</abbreviation>
<uri>www.iso.org</uri>
</organization>
</contributor>
<edition>2</edition>
<language>en</language>
<language>fr</language>
<script>Latn</script>
<status>
<stage>60</stage>
<substage>00</substage>
</status>
<copyright>
<from>2022</from>
<owner>
<organization>
<name>ISO</name>
</organization>
</owner>
</copyright>
<relation type="obsoletes">
<bibitem type="standard">
<formattedref format="text/plain">ISO 19105:2000</formattedref>
<docidentifier type="ISO" primary="true">ISO 19105:2000</docidentifier>
</bibitem>
</relation>
<place>Geneva</place>
</bibitem>
https://www.iso.org/standard/76457.html
This document is 60.00, not 60.60, i.e. the PRF stage. The identifier is already "ISO 19105", not "ISO/FDIS 19105".
If I use "ISO 19105:2022", I get: (notice the first line of the warning is missing the year, and the 3rd line also ends strangely!)
If I apply "ISO/PRF 19105" (or "ISO/FDIS 19105"), it becomes: