metanorma / pubid-ieee

PubID spec and implementation for IEEE deliverables
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Parse "Unapproved" references #107

Closed andrew2net closed 3 months ago

andrew2net commented 9 months ago

We need to parse references like "IEEE Unapproved P802.21/D-14-2008-Sept". The Pubid should be equal to "IEEE P802.21/D14"

> Pubid:Ieee::Identifier.parse("IEEE P802.21/D14") == Pubid:Ieee::Identifier.parse("IEEE Unapproved P802.21/D-14-2008-Sept")
=> true

Original https://github.com/metanorma/mn-samples-ieee/issues/5#issuecomment-1756770801

mico commented 3 months ago

Task update: we want to run tests against all Unapproved IDs in this dataset: https://github.com/relaton/relaton-data-ieee/blob/main/index-v1.yaml

ronaldtse commented 3 months ago

@mico yes this is the official dataset so we must support all identifiers.