Getting error
java.lang.NullPointerException: null
at net.sf.saxon.event.ReceivingContentHandler.startPrefixMapping(ReceivingContentHandler.java:291)
in Camel Java DSL project when im trying to transform xml with xslt. This xslt works perfectly in oxygen editor with saxon,, but when i use same xslt in apache camel with java project for transformation getting above exception. Is there any way i can solve this with java and camel project. I used saxon HE 9 as dependency also.
XML ::::
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Lowdtl xmlns="http://domain/crd/bdr/services/get">
<PreDtl>
<LowestDtl>
<Otpxyz abc="000" xyz="NPS" yahoo="0" temp="" />
<Otpxyz abc="001" xyz="NPS" yahoo="0" temp="" />
</LowestDtl>
<HighDtl>
<linkDtl>
<Otpxyz abc="000" xyz="NPS" yahoo="0" temp="" />
<Otpxyz abc="001" xyz="NPS" yahoo="0" temp="" />
</linkDtl>
<HighDtl>
<BinDtl>
<RestLin abc="003" xyz="NPS" yahoo="0" temp="" />
</BinDtl>
<DatDtl>
<DatCd abc="003" xyz="NPS" yahoo="0" temp="" />
</DatDtl>
</HighDtl>
</HighDtl>
</PreDtl>
<RemoveDtl abc="003" xyz="NPS" yahoo="0" temp="" >
<Ts SysTs="2019-10-29 07:54:43.520" />
<RemoveMsg>
<rmv abc="003" xyz="NPS" yahoo="0" temp="" />
</RemoveMsg>
</RemoveDtl>
</Lowdtl>
XSLT ::
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xpath-default-namespace="http://domain/crd/bdr/services/get">
<xsl:output method="xml" indent="yes" />
<xsl:template match="@* | node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="RemoveDtl" />
</xsl:stylesheet>