<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Hello everyone,</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
I can not get heard on irc ;-) and forum discussion in development area seems to be a bit dead.</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">I would like to start contributing and I have been trying to resolve issue reported here: <a href="https://issues.jboss.org/browse/AS7-6390" style="color:rgb(17,85,204)" target="_blank">https://issues.jboss.org/browse/AS7-6390</a></div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
I came to the point where I figured out that the issue is caused by incorrectly picked TransformerFactory class (it is created as an instance of org.apache.xalan.xsltc.trax.TransformerFactoryImpl instead of com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl). </div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">This instance incorectly performs transormation of wsdl inserting doubled namespace definitions.</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">As it was reported by user this is not happening in Jboss EAP 6.0</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">I did some investigation and I found that it is caused by change in the file: <a href="https://github.com/jboss/xalan-j/blob/jboss_2_7_1/src/META-INF/services/javax.xml.transform.TransformerFactory" style="color:rgb(17,85,204)" target="_blank">https://github.com/jboss/xalan-j/blob/jboss_2_7_1/src/META-INF/services/javax.xml.transform.TransformerFactory</a></div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Change labeled: "Enable xslt" commit: 928a986054f4c67fcd0d62fabec908aa77fdd864</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">This file exist in xalan-2.7.1-jbossorg-1.jar and xalan-2.7.1-redhat-1.jar but in redhat release it is unchanged. </div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
When I revert this change locally - correct class is picked and double namespaces do not occur. </div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Another consternation about this third party release is that in nexus repository there is released JAR named: xalan-2.7.1-jbossorg-2 while there is no such version on github. It should not be an issue as by default current builds of AS 6,7 and 8 ;-) are picking xalan-2.7.1-jbossorg-1 but it would be nice to have it sorted. </div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">OTOH replacing xalan-2.7.1-jbossorg-1 with xalan-2.7.1-jbossorg-2 does not solve the problem mentioned above.</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
I am interested to hear your views on the matter.</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
Kind regards</div>