Hi,

I am following up on the issue I reported on the Xerces developer mailing list 
regarding the getParticle() method of XSComplexTypeDefinition not returning 
element references in a complex type.

https://issues.apache.org/jira/browse/XERCESJ-1540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Please let me know if you were able to reproduce the issue and if you have any 
resolution for it.

Thanks,
Deepti

-----Original Message-----
From: Michael Glavassevich (Commented) (JIRA) 
[mailto:xerces-j-...@xml.apache.org] 
Sent: Thursday, October 20, 2011 10:34 AM
To: dg...@dag.com
Subject: [jira] [Commented] (XERCESJ-1540) getParticle() method of 
XSComplexTypeDefinition, does not return element references in a complex type


    [ 
https://issues.apache.org/jira/browse/XERCESJ-1540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13131816#comment-13131816
 ] 

Michael Glavassevich commented on XERCESJ-1540:
-----------------------------------------------

The complexType that you pasted into the JIRA issue doesn't appear in the WSDL. 
Are you sure that's the right test?
                
> 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
>             Fix For: 2.11.0
>
>         Attachments: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1831 / Virus Database: 2092/4563 - Release Date: 10/20/11


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-dev-h...@xerces.apache.org

Reply via email to