geronimo-xbean-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] Closed: (XBEAN-138) List of complex type results in any with content ##other which is broken for activemq.xds
Date Fri, 11 Sep 2009 23:03:57 GMT

     [ https://issues.apache.org/jira/browse/XBEAN-138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Jencks closed XBEAN-138.
------------------------------

    Resolution: Duplicate

Hiram filed and fixed this as XBEAN-139

> List of complex type results in any with content ##other which is broken for activemq.xds
> -----------------------------------------------------------------------------------------
>
>                 Key: XBEAN-138
>                 URL: https://issues.apache.org/jira/browse/XBEAN-138
>             Project: XBean
>          Issue Type: Bug
>          Components: spring
>    Affects Versions: 3.6
>            Reporter: Gary Tully
>
> there is a problem with the auto generation of ActiveMQ configuration schema (activemq.xsd)
and any content generated for a complexType containing a List and would like to have ActiveMQ
5.3 use 3.6.
> For example the generated content :
> <xs:element name='policyEntries' minOccurs='0' maxOccurs='1'>
>           <xs:annotation>
>             <xs:documentation><![CDATA[
>               Sets the individual entries on the policy map
>             ]]></xs:documentation>
>           </xs:annotation>
>           <xs:complexType>
>             <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence>
>           </xs:complexType>
>         </xs:element>
> should be (without the namespace ##other qualifier on the content) :
> <xs:element name='policyEntries' minOccurs='0' maxOccurs='1'>
>           <xs:annotation>
>             <xs:documentation><![CDATA[
>               Sets the individual entries on the policy map
>             ]]></xs:documentation>
>           </xs:annotation>
>           <xs:complexType>
>             <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0'
maxOccurs='unbounded'/></xs:sequence>
>           </xs:complexType>
>         </xs:element>
> Such that a policyEntry from the same namespace is valid.
> This is generated from:
>  /**
>      * Sets the individual entries on the policy map
>      *
>      * @org.apache.xbean.ElementType class="org.apache.activemq.broker.region.policy.PolicyEntry"
>      */
>     public void setPolicyEntries(List entries) {
> @ http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/PolicyMap.java?view=markup

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message