Skip to content

DOCTYPE parse errors missing from various tree construction tests #14

@nolanw

Description

@nolanw

Many tree construction tests should, but don't, include parse errors for absent or invalid <!DOCTYPE> elements. cite

For an example of each, every test in tree-construction/adoption01.dat should include a parse error for the missing <!DOCTYPE>. And the fourth test in tree-construction/doctype01.dat should include a parse error for the invalid <!DOCTYPE>.

If there's agreement that the tests should include these parse errors, I'll go ahead and open a pull request from this issue. In that case, is there some kind of format for the errors that I should adhere to? I'm unable to divine the format from examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions