relaton / relaton-iso

RelatonIso: ISO Standards metadata using the BibliographicItem model
BSD 2-Clause "Simplified" License
2 stars 1 forks source link

Improperly formatted string for technical-committee name #98

Closed ronaldtse closed 3 years ago

ronaldtse commented 3 years ago

https://api.relaton.org/api/v1/document?code=ISO%2019011&year=2011&all_parts=true,keep_year=false

shows this:

<technical-committee number="176" type="TC">ISO/TC 176/SC 3Supporting technologies</technical-committee>

Maybe it should be:

<technical-committee number="176" type="TC" identifier="ISO/TC 176/SC 3">Supporting technologies</technical-committee>
andrew2net commented 3 years ago

@ronaldtse we don't have an attribute identifier for IsoWorkgroup

IsoWorkgroup =
    attribute number { text }?,
    attribute type { text }?,
    text
ronaldtse commented 3 years ago

Then can we add “identifier” and also “prefix”? Prefix can be “WG”, “AG”, etc whatever people choose (it’s inconsistent).

We also need to add “identifier” for committee if it doesn’t exist.

andrew2net commented 3 years ago

ping @opoudjis

opoudjis commented 3 years ago

I would have preferred to reconstruct identifier from other information, but I can see that's going to be inconvenient to impossible. OK.

ronaldtse commented 3 years ago

I can see that's going to be inconvenient to impossible.

That was the intent but it's now confirmed to be impossible, unfortunately. So we have to handle this.

ronaldtse commented 3 years ago

@andrew2net can we fix/close this now?