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

Provide URN for every "ISO" and "ISO/IEC" document according to RFC 5141 #85

Closed
ronaldtse opened this issue Apr 19, 2020 · 4 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@ronaldtse
Copy link
Contributor

ronaldtse commented Apr 19, 2020

We want to provide RFC 5141 URN information per ISO and IEC documents: https://tools.ietf.org/html/rfc5141

The standard-id would be something like:

      urn:iso:std:iso:9999:-1:ed-1:v1-amd1.v1:en,fr:amd:2:v2:en
      (isoversion scheme)
      refers to the corrected version of Amendment 2, in English, which
      amends the document comprising the 1st version of edition 1 of ISO
      9999-1 incorporating the 1st version of Amendment 1, in English/
      French (bilingual document)

For examples, see https://tools.ietf.org/html/rfc5141#section-2.4.2

Related to relaton/relaton-iec#22

@andrew2net
Copy link
Contributor

@ronaldtse We have the to_all_parts function which removes a part number from a document identifier and adds "(all parts)" string to it. How should we handle the URN in the all-parts functionality?
I've discussed it with Nick. He suggests just remove the part number without adding "all parts" back into the URN.

@ronaldtse
Copy link
Contributor Author

@andrew2net this case is specified in RFC 5141:

   NSS           = std-nss

      All URNs conforming to this specification begin the NSS with the
      prefix "std:" to denote the restriction to documents developed by
      the ISO standards development procedures as defined in the ISO/IEC
      Directives, Part 1 [ISODIR-1] and the ISO Supplement [ISODIR-S].
      Prefixes that identify ISO objects of other kinds may be defined
      in future revisions of this specification.

      std-nss       = "std:" docidentifier *supplement *docelement
                      [addition]

      The prefix "std:" distinguishes an <std-nss>.  An <std-nss>
      identifies the ISO document that is designated by the
      <docidentifier>, as extended or modified by any identified
      <supplement>.  (An <std-nss> that identifies all parts of a
      multipart ISO document is a special case as described under the



Goodwin & Apel               Informational                      [Page 4]
 
RFC 5141                     ISO URN Schema                   March 2008


      element <partnumber>.)  If the <std-nss> contains an <addition>
      element, the NSS identifies a resource extracted from the ISO
      document or otherwise associated with it (see below).

@ronaldtse
Copy link
Contributor Author

Notice that the ISO URN Schema differs from the IEC URN Schema. I will provide details of the IEC URN schema in a separate ticket. This ticket should only be for ISO.

@ronaldtse ronaldtse changed the title Provide urn for every ISO/IEC document according to RFC 5141 Provide urn for every "ISO" and "ISO/IEC" document according to RFC 5141 Sep 4, 2020
@ronaldtse ronaldtse changed the title Provide urn for every "ISO" and "ISO/IEC" document according to RFC 5141 Provide URN for every "ISO" and "ISO/IEC" document according to RFC 5141 Sep 4, 2020
andrew2net added a commit to relaton/relaton-bib that referenced this issue Sep 7, 2020
andrew2net added a commit that referenced this issue Sep 7, 2020
@ronaldtse
Copy link
Contributor Author

Thanks @andrew2net please also document this method for API and command line. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants