Skip to content

TextReader::get_attribute hides whether the attribute exists #71

Closed
@dbear496

Description

@dbear496

The TextReader::get_attribute methods return an empty string when the attribute does not exist. Unfortunately, this makes it difficult to distinguish between a non-existent attribute and one whose value is the empty string. And a similar issue exists for other methods which return strings.

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