Skip to content

XMLReaderImpl.getAttributeValue(String, String) does not ignore namespace if null #66

@zebrada

Description

@zebrada

Stax javadoc says :

String javax.xml.stream.XMLStreamReader.getAttributeValue(String namespaceURI, String localName)
Returns the normalized attribute value of the attribute with the namespace and localName If the namespaceURI is null the namespace is not checked for equality

That's not the behavior implemented by com.fasterxml.aalto.stax.StreamReaderImpl
If namespace is set at null StreamReaderImpl checks if the localValue of the attribute has no namespace.

Why would you do that, making a useful method so useless ?

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