DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14540>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14540

Inherited attributes are lost during serialization





------- Additional Comments From [EMAIL PROTECTED]  2003-01-07 14:53 -------
I'm facing the same problem and I have made a little analysis.

It appears that attributes of the super type are serialized after the 
attributes of the inherited type. So the XML generated is invalid according to 
the defined XSD.

Furthermore, the BeanSerializer associated to the derivated sequence uses the 
java.bean.Introspector in order to retrieve the list of attributes of the 
superclass (see the TypeDesc.getPropertyDescriptor() method) instead of using 
the information contained in the typeDesc attribute of the super-class. This 
implies that the order of the fields does not necessary correspond to the one 
defined in the XML sequence.

Reply via email to