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

Update reference to iso 8601 #2658

Open
mattgarrish opened this issue Oct 18, 2024 · 3 comments · May be fixed by #2661
Open

Update reference to iso 8601 #2658

mattgarrish opened this issue Oct 18, 2024 · 3 comments · May be fixed by #2661
Labels
Change-Class-2 Requested changes are of class 2 (per process) Errata Item accepted as an official errata for one or several specs Spec-EPUB3 The issue affects the core EPUB 3.3 Recommendation Topic-PackageDoc The issue affects package documents

Comments

@mattgarrish
Copy link
Member

mattgarrish commented Oct 18, 2024

Issue on the EPUB 3.3 Recommendation

Section 5.5.3.2.4 The dc:date element

Describe the problem

I noticed we have a reference in that section to iso8601:2004 which in turn links to the withdrawn standard page: https://www.iso.org/standard/40874.html

Describe the fix or new feature you propose

Change the reference to 8601-1:2019

We might also want to look at why we say dcterms:modified must be an xmlschema-2 conformant dateTime, even though it uses a pattern that also conforms to iso 8601. My guess is that reference was meant to match the package document schemas and the dc:date reference came later. It would probably be better to have both date formats reference the same standard.

@mattgarrish mattgarrish added Topic-PackageDoc The issue affects package documents Spec-EPUB3 The issue affects the core EPUB 3.3 Recommendation labels Oct 18, 2024
@iherman
Copy link
Member

iherman commented Oct 18, 2024

For the last part, just to see if I understand it properly: you propose to change, in https://www.w3.org/TR/epub-33/#sec-metadata-last-modified, the reference to xmlschema-2 to iso 8601? I would be fine with this.

B.t.w. (but you may have already chased this down) we need then to use [[iso8601-1]] in the source, per https://www.specref.org/?q=iso8601

@mattgarrish
Copy link
Member Author

you propose to change, in https://www.w3.org/TR/epub-33/#sec-metadata-last-modified, the reference to xmlschema-2 to iso 8601

Right, it's kind of odd that we use two different standards to refer to date/time formats when one will do. And unlike dc:date, the dcterms:modified definition is strictly controlled, so it's not like the date standard we use has any real influence over what is valid. Last modified dates are always iso 8601 conformant, so let's just consistently use that standard.

@iherman
Copy link
Member

iherman commented Oct 18, 2024

Luckily, this will be a class 2 change, so it is no problem incorporating this in the upcoming proposed correction version...

@mattgarrish mattgarrish linked a pull request Oct 21, 2024 that will close this issue
@mattgarrish mattgarrish added Errata Item accepted as an official errata for one or several specs Change-Class-2 Requested changes are of class 2 (per process) labels Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Change-Class-2 Requested changes are of class 2 (per process) Errata Item accepted as an official errata for one or several specs Spec-EPUB3 The issue affects the core EPUB 3.3 Recommendation Topic-PackageDoc The issue affects package documents
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants