axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frances Stewart <franc...@us.ibm.com>
Subject Re: Problem in BeanDeserializer.handleMixedContent()
Date Sat, 03 Mar 2007 16:09:00 GMT
Meant to say org.w3c.dom.CharacterData not org.w3c.dom.Text in note below.


Frances Stewart




                                                                           
             Frances                                                       
             Stewart/Rochester                                             
             /IBM@IBMUS                                                 To 
                                       axis-dev@ws.apache.org              
             03/03/2007 09:56                                           cc 
             AM                                                            
                                                                   Subject 
                                       Problem in                          
             Please respond to         BeanDeserializer.handleMixedContent 
             axis-dev@ws.apach         ()                                  
                   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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message