metanorma / metanorma-jis

Metanorma for JIS
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Bibliography entries from JIS inconsistent regarding source availability #225

Open ronaldtse opened 1 week ago

ronaldtse commented 1 week ago

From

Screenshot 2024-10-17 at 8 18 11 PM

This is from JIS Z 8301 at the mn-samples-jis repository.

We take the two examples:

JIS B 0001, 機械製図

vs

JIS P 0138, 日本製紙連合会. 紙加工仕上寸法. 有効です. 日本製紙連合会. 入手先: https://webdesk.jsa.or.jp/books/W11M0090/index/?bunsyo_id=JIS+P+0138%3A1998

The log is identical:

[relaton-jis] INFO: (JIS B 0001) Fetching from webdesk.jsa.or.jp ...
...
[relaton-jis] INFO: (JIS B 0001) Found: `JIS B 0001`
...
[relaton-jis] INFO: (JIS P 0138) Fetching from webdesk.jsa.or.jp ...
...
[relaton-jis] INFO: (JIS P 0138) Found: `JIS P 0138`

In Relaton, the source is available for both identically:

$ bundle exec relaton fetch 'JIS B 0001'
<bibdata type="standard" schema-version="v1.2.9">
  <fetched>2024-10-17</fetched>
  <title format="text/plain" language="ja" script="Jpan">機械製図</title>
  <title format="text/plain" language="en" script="Lant">Technical drawings for mechanical engineering</title>
  <uri type="src">https://webdesk.jsa.or.jp/books/W11M0090/index/?bunsyo_id=JIS+B+0001%3A2019</uri>
  <docidentifier type="JIS" primary="true">JIS B 0001</docidentifier>
  <docnumber>B0001</docnumber>
...
bundle exec relaton fetch 'JIS P 0138'
<bibdata type="standard" schema-version="v1.2.9">
  <fetched>2024-10-17</fetched>
  <title format="text/plain" language="ja" script="Jpan">紙加工仕上寸法</title>
  <title format="text/plain" language="en" script="Lant">Writing paper and certain classes of printed matter -- Trimmed sizes -- A and B series</title>
  <uri type="src">https://webdesk.jsa.or.jp/books/W11M0090/index/?bunsyo_id=JIS+P+0138%3A1998</uri>
  <docidentifier type="JIS" primary="true">JIS P 0138</docidentifier>
  <docnumber>P0138</docnumber>

Hence I'm not sure why the treatment in the document is different.

The bibliography entries are encoded as:

* [[[JIS_B_0001,JIS B 0001]]], 機械製図
...
* [[[JIS_P_0138,JIS P 0138]]], 紙加工仕上寸法


This seems like a Metanorma-JIS problem.
opoudjis commented 5 days ago

For commentary, see https://github.com/metanorma/mn-samples-jis/issues/47