Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to recognise and fetch "IEEE P802.21/D14" #25

Open
ronaldtse opened this issue Jul 5, 2022 · 1 comment
Open

Unable to recognise and fetch "IEEE P802.21/D14" #25

ronaldtse opened this issue Jul 5, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ronaldtse
Copy link

From metanorma/mn-samples-ieee#5

Commands:

$ bundle exec relaton fetch "IEEE P802.21/D14"
[relaton] (IEEE P802.21/D14) not found.
No matching bibliographic entry found

$ bundle exec relaton fetch "IEEE P802.21"
[relaton] (IEEE P802.21) not found.
No matching bibliographic entry found

$ bundle exec relaton fetch "IEEE 802.21"
[relaton-ieee] ("IEEE 802.21") fetching...
[relaton-ieee] ("IEEE 802.21") found IEEE 802.21-2017
<bibitem id="IEEE802.21-2017">
...
</bibitem>

Relaton should be able to fetch "IEEE P802.21/D14", which is located here: https://ieeexplore.ieee.org/document/4629448

The data is also available in relaton-data-ieee:
https://github.com/relaton/relaton-data-ieee/blob/main/data/IEEE_UNAPPROVED_P802-21_D-14.2008-SEPT.yaml

However to find this identifier, we need a normalized identifier, which probably requires us to first integrate pubid-ieee with relaton-ieee.

@ronaldtse ronaldtse added the bug Something isn't working label Jul 5, 2022
@andrew2net
Copy link
Contributor

@ronaldtse this happens because normtitle in the source is IEEE Unapproved Draft Std P802.21/D14, Sept 2008.

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE publication PUBLIC "-//IEEE//IDAMS Exchange V2.0.0//EN" "ieee_idams_exchange.dtd">
<publication>
  <title><![CDATA[IEEE Unapproved Draft Std P802.21/D14, Sept 2008]]></title>
  <normtitle><![CDATA[IEEE Unapproved Draft Std P802.21/D14, Sept 2008]]></normtitle>
  ...

so with the current PubID implementation, the document can be fetched using the reference IEEE Unapproved P802.21/D-14-2008-Sept.

relaton fetch "IEEE Unapproved P802.21/D-14-2008-Sept"          
[relaton-ieee] ("IEEE Unapproved P802.21/D-14-2008-Sept") fetching...
[relaton-ieee] ("IEEE Unapproved P802.21/D-14-2008-Sept") found IEEE Unapproved P802.21/D-14-2008-Sept
<bibdata type="standard">
  <fetched>2022-08-08</fetched>
  <title type="main" format="text/plain">IEEE Draft Standard for Local and Metropolitan Area Networks: Media Independent Handover Services</title>
  <uri type="src">https://ieeexplore.ieee.org/document/4629448</uri>
  <docidentifier type="IEEE" primary="true">IEEE Unapproved P802.21/D-14-2008-Sept</docidentifier>
  <docidentifier type="IEEE" scope="trademark" primary="true">IEEE Unapproved P802.21™/D-14-2008-Sept</docidentifier>
  <docidentifier type="ISBN">978-1-5044-3342-6</docidentifier>
  ...

It seems we need to integrate the pubid-ieee I'm waiting for release the gem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants