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

Document attribute UDC (Universal Decimal Classification) #1094

Closed
Intelligent2013 opened this issue Feb 11, 2024 · 10 comments
Closed

Document attribute UDC (Universal Decimal Classification) #1094

Intelligent2013 opened this issue Feb 11, 2024 · 10 comments
Assignees

Comments

@Intelligent2013
Copy link
Contributor

Source issue: #1089

Before 1992, ISO published the UDC (Universal Decimal Classification) instead of ICS (International Classification of Standards)
(found here https://docs.wto.org/dol2fe/Pages/SS/directdoc.aspx?filename=q:/G/TBT/GEN312.pdf&Open=True)

Example (https://cdn.standards.iteh.ai/samples/14/2c071d0698d64948a4b9f21a6314072b/ISO-R-1-1951.pdf):
image

Currently, Metanorma supports ICS via the attribute :library-ics: (https://www.metanorma.org/author/ref/document-attributes/#document-info):

image

Add the attribute :library-udc:.

@opoudjis
Copy link
Contributor

I'm going to see if I can generalise this somehow, as library-* for any taxonomy classification.

@ronaldtse
Copy link
Contributor

The Chinese also use their own taxonomy. A generalized solution would work great, for ICS and things we support we could do validation but for others we can at least accept them. It also gives us a chance to accept multiple taxonomy classification values.

@opoudjis
Copy link
Contributor

opoudjis commented Feb 12, 2024

We already have provision for multiple classification elements in bibdata/classification: <classification type="UDC">600.1</classification>. I had hard coded ics as an bibdata/ext element, but I think it would be fine to leave that as a legacy exception, and process all other classifications as library-*.

@Intelligent2013
Copy link
Contributor Author

Also we need to support the localized strings for UDC:

  • fr: CDU
  • ru: УДК

@opoudjis
Copy link
Contributor

library-* is too obscure, so I'm going to make it classification-*. The canonical value shall indeed be UDC.

@opoudjis
Copy link
Contributor

opoudjis commented Feb 13, 2024

Strike that: we already support bibdata/classification, as :classification: UDC:563.5.081, UDC:537.71. We only allow a single value per classification token. Documenting that, rather than playing silly buggers with multiple values in a key-value pair. I will concatenate the values in Presentation XML.

@opoudjis
Copy link
Contributor

Also we need to support the localized strings for UDC:

  • fr: CDU
  • ru: УДК

This will be provided in the localization-string for classification-UDC.

@opoudjis
Copy link
Contributor

Ah, I forgot: that colon is not a distinct value, it is a relator. UDC is not Dewey, and it liberally uses + / : [ ] * -

opoudjis added a commit to metanorma/metanorma.org that referenced this issue Feb 13, 2024
opoudjis added a commit that referenced this issue Feb 13, 2024
@opoudjis
Copy link
Contributor

:classification: UDC:563.5.081:537.71

results in the following in Presentation XML:

<bibdata type="standard">
...
<classification type="UDC">563.5.081:537.71</classification>
...
</bibdata><localized-strings>
...
<localized-string key="classification-UDC" language="en">UDC</localized-string>
...

@Intelligent2013
Copy link
Contributor Author

@opoudjis thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants