aalto-xml icon indicating copy to clipboard operation
aalto-xml copied to clipboard

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

Open arne-bdt opened this issue 1 year ago • 0 comments

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.

arne-bdt avatar Sep 26 '24 12:09 arne-bdt