epubcheck icon indicating copy to clipboard operation
epubcheck copied to clipboard

Recommended fragment identifiers for media overlays

Open mattgarrish opened this issue 3 years ago • 0 comments

The previous requirement was that fragments in textref attributes and text element's src attributes be conformant to xpointer shorthand, but this syntax is incompatible with current XHTML (since IDs no longer have to be NCNames). I don't believe we've enforced this, though.

The new recommendation is that the fragment reference a target element (# followed by string without spaces) or be an SVG fragment identifier. Anything else should be a warning.

See https://github.com/w3c/epub-specs/issues/1586

mattgarrish avatar May 14 '21 13:05 mattgarrish