Validating YYYY-only FRBRdate values

11 views
Skip to first unread message

Greg Kempe

unread,
Jul 8, 2020, 1:21:13 PM7/8/20
to akomant...@googlegroups.com
Hello Akoma Ntoso fans,

The AKN Naming Convention for the IRI of a Work says that a year-only value (in the YYYY format) is a valid value for the date portion of a Work's IRI, and this must correspond to the value of the FRBRdate element in the FRBRWork section of the metadata.

However, the FRBRdate element's date attribute in the XSD schema is declared as: 

  <xsd:union memberTypes="xsd:date xsd:dateTime"/>

This doesn't permit a date that is just a year, so validation fails.

Can it be considered to add xsd:gYear to the union as follows, so it allows a YYYY-only date?

   <xsd:union memberTypes="xsd:date xsd:dateTime xsd:gYear"/>

Thanks,
Greg

--
Greg Kempe
CTO and Co-founder, Laws.Africa
https://laws.africa · gr...@laws.africa · +27 78 246 1116

Fabio Vitali

unread,
Jul 8, 2020, 2:26:17 PM7/8/20
to akomant...@googlegroups.com
Dear Greg,

this is definitely a good idea.

I see no problem in accepting it, and will suggest the TC to table it and discuss (and approve) right away.

Fabio

--
> --
> You received this message because you are subscribed to the Google Groups "akomantoso-xml" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to akomantoso-xm...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/akomantoso-xml/CAB%2Bz6DRrAMj4wCVOYgrvxHFtKr8SSF%3DFsUAeyYi%3D2zP8%2B%3D2cXg%40mail.gmail.com.


--

Fabio Vitali The sage and the fool
Dept. of Informatics go to their graves
Univ. of Bologna ITALY alike in this respect:
phone: +39 051 2094872 both believe the sage to be a fool.
e-mail: fa...@cs.unibo.it Where, then, may wisdom be found?
http://vitali.web.cs.unibo.it/ Qi, "Neither Yes nor No", The codeless code

Greg Kempe

unread,
Jul 9, 2020, 3:01:11 AM7/9/20
to akomant...@googlegroups.com
Great, thanks for the swift response Fabio.

Greg

Reply all
Reply to author
Forward
0 new messages