Skip to content

Undefined entities are not reported for EPUB2 checks. #1546

Closed

Description

@typopaul

Non-standard entities, for example &linkref; are not reported when the checked file is EPUB2.
In EPUB3 such entities are reported as errors.

Is there a certain reason for this behavior?

Activity

  1. rdeltour commented on Oct 13, 2023

    @rdeltour
    Member

    If entities are defined in an external DTD, that would be valid in EPUB 2 (but not in EPUB 3).
    Could you share a sample file to reproduce the issue?

  2. self-assigned this
    on Oct 13, 2023
  3. typopaul commented on Nov 2, 2023

    @typopaul
    Author

    @rdeltour

    Find attached a zip file with a sample file containing a "wrong" entity in an EPUB2 file and a screenshot from the Thorium Reader.
    I understand that the entity should be associated with an external DTD/resource.
    I am surprised that the EPUB Checker does not report it as an error but Thorium Reader does.

    issue1546_sample-entity-error-EPUB2.zip

  4. added
    status: in progressThe issue is being implemented by the development team
    type: false-negativeThis issue is about invalid content being incorrectly accepted
    and removed
    status: waiting for feedbackThe development team needs feedback from the issue’s creator
    type: unverifiedThe issue couldn't be reproduced
    on Dec 20, 2024
  5. added a commit that references this issue on Dec 23, 2024
    4ad738c
  6. added
    status: has PRThe issue is being processed in a pull request
    and removed
    status: in progressThe issue is being implemented by the development team
    on Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

status: has PRThe issue is being processed in a pull requesttype: false-negativeThis issue is about invalid content being incorrectly accepted

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    ⌂ 换网址