metanorma / pubid-iso

Implementation of ISO pubid
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Create new Identifier class for "ISO/R" Recommendations #183

Closed ronaldtse closed 1 year ago

ronaldtse commented 1 year ago

Basic pattern

ISO/R 1:1951
ISO/R 2:1951
ISO/R 3:1953
ISO/R 4:1953
ISO/R 5:1954
ISO/R 6:1954
ISO/R 19:1956
ISO/R 20:1956
ISO/R 38:1957
ISO/R 39:1957
ISO/R 40:1957
ISO/R 51:1957

Parts (standard style)

Parts are listed in the pattern of:

ISO/R 93-3:1969
ISO/R 93-1:1963
ISO/R 93-2:1969
ISO/R 105-1:1959
ISO/R 105-6:1972
ISO/R 105-7:1975
ISO/R 105-1:1959
ISO/R 105-2:1963
ISO/R 105-3:1963
ISO/R 300-3:1968
ISO/R 355-8:1973

Parts (old style)

Parts are listed in the pattern of:

We only need to support the parsing of these identifiers.

ISO/R 93/1-1963
ISO/R 93/II-1969
ISO/R 93/III-1969
ISO/R 105/I
ISO/R 105/II
ISO/R 105/III
ISO/R 300/III-1968
ISO/R 355-VI:1970
ISO/R 657/I
ISO/R 657/II
ISO/R 657/III
ISO/R 657/IV
ISO/R 710/III

Addendums

See #182 .

mico commented 1 year ago
ISO/R 93/1-1963
ISO/R 93/II-1969
ISO/R 93/III-1969
ISO/R 105/I
ISO/R 105/II
ISO/R 105/III
ISO/R 300/III-1968
ISO/R 355-VI:1970
ISO/R 657/I
ISO/R 657/II
ISO/R 657/III
ISO/R 657/IV
ISO/R 710/III

@ronaldtse Should be output for this identifiers like: "ISO/R 300-III-1968" instead of "ISO/R 300/III-1968"?

ronaldtse commented 1 year ago

These should be represented in the current PubID form as:

ISO/R 93/1-1963       => ISO/R 93-1:1963
ISO/R 93/II-1969      => ISO/R 93-2:1969
ISO/R 93/III-1969     => ISO/R 93-3:1969
ISO/R 105/I           => ISO/R 105-1
ISO/R 105/II          => ISO/R 105-2
ISO/R 105/III         => ISO/R 105-3
ISO/R 300/III-1968    => ISO/R 300-3:1968
ISO/R 355-VI:1970     => ISO/R 355-4:1970
ISO/R 657/I           => ISO/R 657-1
ISO/R 657/II          => ISO/R 657-2
ISO/R 657/III         => ISO/R 657-3
ISO/R 657/IV          => ISO/R 657-4
ISO/R 710/III         => ISO/R 710-3