w3c / epub-specs

Shared workspace for EPUB 3 specifications.
Other
305 stars 60 forks source link

Allow xml:lang and dir on all optional DC elements #2654

Closed mattgarrish closed 1 month ago

mattgarrish commented 1 month ago

This pull request removes the lists of allowed elements from the optional DC definition. It also simplifies the global attribute definitions for xml:lang, dir, and id by referring to the required and optional element sections rather than list out every individual element.

Fixes #2650


Preview | Diff

mattgarrish commented 1 month ago

I actually don't like having two "Dublin Core" sections at the same level. What if we switched it to:

?

The current text would still make sense this way.

Actually, we could simplify the current text by just linking the parent DC section since it would contain all the definitions.

iherman commented 1 month ago

Yes, that would make sense. The only problem I see is the heading levels for each entry would be even 'deeper'; we will break records in our spec;-) but I guess that is all right...

mattgarrish commented 1 month ago

we will break records in our spec;-)

You got my hopes up, but, alas, no. The OCF reserved files still hold the depth record by a level.

iherman commented 1 month ago

we will break records in our spec;-)

You got my hopes up, but, alas, no. The OCF reserved files still hold the depth record by a level.

Oh well, we can still work on that 😀

Anyway, for the records, I am fine with the latest changes in https://github.com/w3c/epub-specs/pull/2654/commits/2dab9555b2ecf8198f2639a5468b1ace6e74e2c8. Thanks.