First object in Aegis array of anyType items has no xsi:type
------------------------------------------------------------

                 Key: CXF-1391
                 URL: https://issues.apache.org/jira/browse/CXF-1391
             Project: CXF
          Issue Type: Bug
          Components: Aegis Databinding
    Affects Versions: 2.1
            Reporter: Benson Margulies
            Assignee: Benson Margulies


The Javascript Aegis test has a case in which the response looks like the 
following. Note the missing xsi:type on the first element, as well as the extra 
xsd prefix.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
   <soap:Body>
      <ns1:returnBeanWithAnyTypeArrayResponse 
xmlns:ns1="http://fortest.javascript.cxf.apache.org/";>
         <ns1:return>
            <ns2:objects 
xmlns:ns2="http://aegis.fortest.javascript.cxf.apache.org";>
               <ns3:anyType xmlns:ns3="http://cxf.apache.org/arrays";>
                  <ns2:name>shrew</ns2:name>
               </ns3:anyType>
               <ns3:anyType ns4:type="xsd:int" 
xmlns:ns3="http://cxf.apache.org/arrays"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:ns4="http://www.w3.org/2001/XMLSchema-instance";>42</ns3:anyType>
               <ns3:anyType ns4:type="ns2:Vegetable" 
xmlns:ns3="http://cxf.apache.org/arrays"; 
xmlns:ns4="http://www.w3.org/2001/XMLSchema-instance";>
                  <ns2:family>brasica</ns2:family>
               </ns3:anyType>
            </ns2:objects>
            <ns2:string 
xmlns:ns2="http://aegis.fortest.javascript.cxf.apache.org";>lima</ns2:string>
         </ns1:return>
      </ns1:returnBeanWithAnyTypeArrayResponse>
   </soap:Body>

-- 
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