Skip to content

Should empty property data type references be valid? #2417

Closed

Description

@mattgarrish

The question of whether a prefix-only property data type value is valid came up earlier, and we clarified that it is allowed (in keeping with CURIEs).

But how do we square this with requiring a meta element's property attribute to reference a property? By our current definition, the following is valid: <meta property="foo:">bar</meta>

The only place a "URL-only" prefix makes sense in a scheme attribute. Everything else requires a reference value (i.e., the property).

Do we have to go back through each attribute and clarify the ones that have to have a reference at least one character in length, or should we go back to the way things were when we expected all attribute values to be an optional prefix followed by a reference? (i.e., say that although an empty path-relative-scheme-less-URL string is valid, it is not a valid reference)

Activity

  1. iherman commented on Sep 13, 2022

    @iherman
    Member

    Do we have to go back through each attribute and clarify the ones that have to have a reference at least one character in length, or should we go back to the way things were when we expected all attribute values to be an optional prefix followed by a reference? (i.e., say that although an empty path-relative-scheme-less-URL string is valid, it is not a valid reference)

    Sigh... you are right. I think the second option is the cleanest.

  2. added
    EPUB33Issues fixed in the EPUB 3.3 revision
    Spec-EPUB3The issue affects the core EPUB 3.X Recommendation
    on Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    EPUB33Issues fixed in the EPUB 3.3 revisionSpec-EPUB3The issue affects the core EPUB 3.X Recommendation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions