Skip to content

Namespaces not retained with FileUrisStreamingXMLLoader #256

@hansenmc

Description

@hansenmc

FileUrisStreamingXMLLoader is dropping namespaces when documents use a default namespace (no prefix) running in Java 11+.

It seems that it did not matter if DocumentBuilderFactory was namespaceaware in Java 8 (retained namespaces regardless of whether namespaceaware was true or false), but when running with Java 11 or greater, it must be set to true.

Metadata

Metadata

Assignees

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