Skip to content

aalto.in.NsBinding#createDefaultNs uses null instead of XMLConstants.DEFAULT_NS_PREFIX #97

@arne-bdt

Description

@arne-bdt

Version: 1.3.3
com.fasterxml.aalto.in.NsBinding#createDefaultNs creates an NsBinding where the prefix is null where it should be XMLConstants.DEFAULT_NS_PREFIX.

This is particularly problematic in conjunction with com.fasterxml.aalto.in.FixedNsContext#getNamespaceURI, which does not allow the prefix argument to be null.
So it is impossible to retrieve any URI for the default namespace from a FixedNsContent.

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