Meant to say org.w3c.dom.CharacterData not org.w3c.dom.Text in note below.

Frances Stewart




                                                                           
             Frances                                                       
             Stewart/Rochester                                             
             /[EMAIL PROTECTED]                                                 
To 
                                       [email protected]              
             03/03/2007 09:56                                           cc 
             AM                                                            
                                                                   Subject 
                                       Problem in                          
             Please respond to         BeanDeserializer.handleMixedContent 
             [EMAIL PROTECTED]         ()                                  
                   e.org                                                   
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           





I believe there is a bug in BeanDeserializer.handleMixedContent  method.
Specifically this line:
            MessageElement thisEl = new MessageElement(new
org.apache.axis.message.Text(textValue));

MessageElement does not have a constructor that takes an
org.apache.axis.message.Text object. It does have one that takes
org.w3c.dom.Text, but org.apache.axis.message.Text is not castable to
org.w3c.dom.Text.

I have created a stripped down version of BeanDeserializer that basically
only does the line above, and it will not compile:
FESBeanDeserializer.java:79: cannot resolve symbol
symbol  : constructor MessageElement (org.apache.axis.message.Text)
location: class org.apache.axis.message.MessageElement
            MessageElement thisEl = new MessageElement(new
org.apache.axis.message.Text("blah"));


Does anyone see where I am mistaken about this? I know that axis-1.4.jar
contains BeanDeserializer.class with this flaw - so not sure how the class
was compiled for inclusion in the jar.

Thanks,
Frances Stewart


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to