Skip to content

Add ValidElement classes #1

@royallthefourth

Description

@royallthefourth

Valid element classes only accept children of the correct type.

This feature can probably be implemented as a hierarchy of empty interfaces.
It isn't enough to ensure document validity, but it's a huge step in that direction. The next step would require doing the same for attributes, but this would be a breaking change. I'll save the breaking changes for until I've proven that this technique works.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions