Skip to content

[Bug]: Add XML transform removes namespace values without warning or error #3320

Description

@bamaer

Apache Hop version?

SNAPSHOT-20231025

Java version?

openjdk version "11.0.21" 2023-10-17

Operating system

Linux

What happened?

Add XML transform removes namespace values without warning or error

caused by:

this.getSerializer().transform(domSource, new StreamResult(sw));

org.apache.hop.core.xml.XmlParserFactoryProducer#XmlParserFactoryProducer.createSecureDocBuilderFactory

needs a way or alternative option to allow namespace aware XML transforms, or the Add XML transform needs to use its own DocumentBuilderFactory.

docBuilderFactory.setNamespaceAware();

add-xml.hpl.zip

Issue Priority

Priority: 2

Issue Component

Component: Transforms, Component: Other

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions