MediatorImpl.getTransformerChain randomly returns different transformers for 
the same DataTypes 
------------------------------------------------------------------------------------------------

                 Key: TUSCANY-3456
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3456
             Project: Tuscany
          Issue Type: Bug
            Reporter: ant elder
             Fix For: Java-SCA-2.0


org.apache.tuscany.sca.databinding.impl.MediatorImpl.getTransformerChain is 
intermittently returning different Transformers, for example here's the results 
of 

        System.out.println("getTransformerChain: " + sourceDataType + " " + 
targetDataType + " " + path.size() + " " + path.get(0));

getTransformerChain: class java.lang.Object org.w3c.dom.Node Element: arg0 
Type: {http://www.w3.org/2001/XMLSchema}string class java.lang.String 
java:simpleType Element: arg0 Type: {http://www.w3.org/2001/XMLSchema}string 1 
org.apache.tuscany.sca.databinding.defaulttransformerextensionpoint$lazypulltransfor...@18d718d7;className=org.apache.tuscany.sca.databinding.jaxb.Node2JAXB

getTransformerChain: class java.lang.Object org.w3c.dom.Node Element: arg0 
Type: {http://www.w3.org/2001/XMLSchema}string class java.lang.String 
java:simpleType Element: arg0 Type: {http://www.w3.org/2001/XMLSchema}string 1 
org.apache.tuscany.sca.databinding.defaulttransformerextensionpoint$lazypulltransfor...@1cb01cb;className=org.apache.tuscany.sca.databinding.xml.Node2SimpleJavaType

This causes intermittent fails in some JMS itests as the 
SimpleType2JavaTransformer is removing spaces.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to