Skip to content

[BUG] org.w3c.dom.Element#getAttribute can't return null #5672

@dizzzz

Description

@dizzzz

according to the javadoc org.w3c.dom.Element#getAttribute can not return null;

we have 2 implementations:

Image

however org.exist.dom.memtree.ElementImpl#getAttribute can return null,
as where org.exist.dom.persistent.ElementImpl#getAttribute correctly returns ""

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugissue confirmed as bug

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions