metanorma / pubid-ieee

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

ISO format identifiers output #69

Open mico opened 2 years ago

mico commented 2 years ago

Now we are keeping original format for ISO identifiers, I'm uncertain if it's right.

For example, "ISO/IEC/IEEE CD P23026:2013" have "P" before number, so it's not pure ISO format neither IEEE (":2013" at the end don't comply with IEEE format). I'm not sure if it's possible to convert it to IEEE, because of "CD", but we can convert it to ISO by deleting "P" prefix.

"IEEE Std 11073-10101-2019 (Revision of ISO/IEEE 11073-10101:2004)" - two formats mixed together. "IEEE Std 24748-3:2012" comply with ISO, but need to remove "Std". "IEC/IEEE P62271-37-013:2015 D13.4" - Draft format and "P" prefix from IEEE "IEEE Std 11073-10101-2019 (Revision of ISO/IEEE 11073-10101:2004)" - purely IEEE identifier and ISO identifier in revision.

@ronaldtse what do you think? Should we convert ISO identifiers to pure ISO format and IEEE identifiers to pure IEEE format?

ronaldtse commented 2 years ago

Indeed.

However,

"IEEE Std 11073-10101-2019 (Revision of ISO/IEEE 11073-10101:2004)" - two formats mixed together. "IEEE Std 11073-10101-2019 (Revision of ISO/IEEE 11073-10101:2004)" - purely IEEE identifier and ISO identifier in revision.

I think in this case it is an IEEE document that "revises" an ISO document.

"IEEE Std 24748-3:2012" comply with ISO, but need to remove "Std". https://standards.ieee.org/ieee/24748-3/5336/ https://ieeexplore.ieee.org/document/6189321 It is actually "IEEE Guide 24748-3:2012".

"IEC/IEEE P62271-37-013:2015 D13.4" - Draft format and "P" prefix from IEEE

Yeah this is very strange...

ronaldtse commented 2 years ago

Should we convert ISO identifiers to pure ISO format and IEEE identifiers to pure IEEE format?

For the purely ISO and IEEE identifiers, yes.

For the ones that are mixed, I'm not sure.