You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2002/09/28 23:06:55 UTC

DO NOT REPLY [Bug 13115] New: - Serialization of Arraylist containing Object arrays broken.

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=13115>.
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=13115

Serialization of Arraylist containing Object arrays broken.

           Summary: Serialization of Arraylist containing Object arrays
                    broken.
           Product: Axis
           Version: current (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Serialization/Deserialization
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: rineholt@us.ibm.com


I believe something to support wrapped style arrays has broken this case.  
ArraySerializer.java 226 maxOccursUsage is set to true because the Arraylist's 
preferred type is anyType and this get's set in SerializationContextImpl.1195 
as the currentXMLType.  An array of Objects componentQName type is also 
anyType. The result is it gets processed as "maxOccurUsage" true which skips 
the SOAP EncodedArray element and just list it's elements.