paulhiggs / dvb-i-tools

10 stars 4 forks source link

Invalid Genre #6

Closed hoffrichterm closed 2 years ago

hoffrichterm commented 2 years ago

Hello,

thanks for your work at the DVB-I Tools, but I have a validation error:

invalid @href value "urn:dvb:metadata:cs:ContentSubject:2019.3" for <Genre>
<Genre href="urn:dvb:metadata:cs:ContentSubject:2019.3" type="main"/>

In the DVB-I Document at https://dvb.org/wp-content/uploads/2019/11/A177_DVB-I_Nov_2019.pdf the genre is described as follow:

An element for specifying a genre or classification for the programme. A genre that characterizes the programming on the service. Possible values are taken from: • ContentCS defined in ETSI TS 102 822-3-1 [7] • FormatCS defined in ETSI TS 102 822-3-1 [7] • ContentSubject defined in clause 7.3.5 The type attribute shall always contain the value of “main” as the primary instance. The type attribute shall not permit the value of “secondary” or “other”. Client devices shall be robust to handling the addition of Genre elements in future by checking the term given in the href attribute and ignoring those that are not described in the present document

I don't know if I'm going wrong but I used the clause 7.3.5 in this document and in my opinion, I didn't made a mistake. The category in my source data is show/game show.

Kind regards Marc

paulhiggs commented 2 years ago

The separator between the Classification Scheme URI and the term is a colon (:) character so the proper genre identifier would be urn:dvb:metadata:cs:ContentSubject:2019:3

hoffrichterm commented 2 years ago

Hi Paul,

shame on me! Thanks for your advice.

Greetings Marc

paulhiggs commented 2 years ago

Annex A.1 of TV Anytime ETSI TS 102 822-3-1 says

Examples of the use of the different forms of pointers to classification schemes and associated aliases are provided in clause 7.4.4.5.2 of the ISO/IEC 15938-5 [2]. It is to be noted that in the case of URNs, the separator to be used is the ":", while it is the "#" in the case of URLs.