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
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:
hop/plugins/transforms/xml/src/main/java/org/apache/hop/pipeline/transforms/xml/addxml/AddXml.java
Line 152 in a0e9df9
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