axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Updated: (AXIS-2301) xsd:any is mapped to array of MessageElement while maxOccurs="1"
Date Sun, 27 Nov 2005 20:38:00 GMT
     [ http://issues.apache.org/jira/browse/AXIS-2301?page=all ]

Hans updated AXIS-2301:
-----------------------

    Attachment: patch.diff.txt

attached patch - 
xsd:any with maxOccurs=1 now maps to MessageElement;
xsd:any with maxOccurs=2 maps to MessageElement[]
patch also includes updates xsd:any testcase.

> xsd:any is mapped to array of MessageElement while maxOccurs="1"
> ----------------------------------------------------------------
>
>          Key: AXIS-2301
>          URL: http://issues.apache.org/jira/browse/AXIS-2301
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.2.1
>     Reporter: Hans
>  Attachments: anytest.diff.txt, patch.diff.txt
>
> According to the JAX-RPC 1.1 specification xsd:any should be mapped to an attribute of
type javax.xml.soap.SOAPElement when maxOccurs="1", or javax.xml.soap.SOAPElement[] when maxOccurs
is greater than 1. However, Axis will always generate an array, regardless of the maxOccurs
attribute.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message