You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Don Stewart <Do...@corizon.com> on 2005/04/14 16:09:03 UTC
SchemaParticle
Hi,
SchemaParticle.countOfParticleChild() always returns 0 for me even when
I can see the child elements in the debug window showing the
xml-fragment that is being used.
I cannot use getChildren() as it's has the Null Pointer issue, so am
wondering if there is an issue with this feature in it's toatality?
The class variable is showing as _particleChildren=null for the
fragment.
<xml-fragment name="loginResponse"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:fns="urn:fault.partner.soap.sforce.com"
xmlns:tns="urn:partner.soap.sforce.com"
xmlns:ens="urn:sobject.partner.soap.sforce.com">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="result" type="tns:LoginResult"/>
</xsd:sequence>
</xsd:complexType>
</xml-fragment>
Regards
Don