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

#parse_from_title returns an empty string #163

Closed
andrew2net opened this issue Nov 19, 2022 · 2 comments · Fixed by #175
Closed

#parse_from_title returns an empty string #163

andrew2net opened this issue Nov 19, 2022 · 2 comments · Fixed by #175
Assignees
Labels
bug Something isn't working

Comments

@andrew2net
Copy link

> Pubid::Iso::Identifier.parse_from_title("ISO/IEC Guide 98-3:2008/Suppl 1:2008 Uncertainty of measurement — Part 3: Guide to the expression of uncertainty in measurement (GUM:1995) — Supplement 1: Propagation of distributions using a Monte Carlo method")
=> ""
@mico
Copy link
Contributor

mico commented Dec 18, 2022

It returns empty string because title is not parsable, we still don't support "Suppl" supplements (issue #153).
But maybe we should rise an error when title is not parsable.

@andrew2net
Copy link
Author

@mico yes, it should raise an error.

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

Successfully merging a pull request may close this issue.

2 participants