Skip to content

DOM 4 deprecating node type for attributes #36

Open
@njordhov

Description

@njordhov

The ATTRIBUTE_NODE constant has been deprecated in DOM4. It should no longer be assumed that an attribute has a nodeType.

The changes to the Attribute interface is initially particularly relevant for the Clojurescript implementation of Hickory. It can be accommodated by not recursively mapping over attributes but instead convert attributes in place when building elements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    category: parsingCorrectness and Edge Cases. Hail the DOMstatus: dubiousWhere do I even begin?type: bugSomething isn't working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions