[ https://issues.apache.org/jira/browse/XERCESJ-1540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Glavassevich updated XERCESJ-1540: ------------------------------------------ Fix Version/s: (was: 2.11.0) > getParticle() method of XSComplexTypeDefinition, does not return element > references in a complex type > ----------------------------------------------------------------------------------------------------- > > Key: XERCESJ-1540 > URL: https://issues.apache.org/jira/browse/XERCESJ-1540 > Project: Xerces2-J > Issue Type: Bug > Components: XML Schema API > Affects Versions: 2.11.0 > Environment: Windows 7, xercesImpl-2.11.0b.jar > Reporter: Deepti Garg > Attachments: Chrono1.wsdl, Chrono1.wsdl, > WebservicesBaseComplexTypeWrapper.java > > > The element references of complex types in the XSD are not returned by the > method of the Xerces API, getPaticle(. > <xs:complexType name="result"> > <xs:sequence> > <xs:element form="qualified" minOccurs="0" name="username" > type="xs:string"/> > <xs:element form="qualified" minOccurs="0" name="password" > type="xs:string"/> > <xs:element ref="ns:name"/> > <xs:element minOccurs="0" ref="ns:author"/> > </xs:sequence> > </xs:complexType> > Here for the complex type result, only username and password elements are > returned by the getParticle() method. Even if the element reference belongs > to the same namespace as the complex type, it is not returned by the > getParticle() method. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org