Can someone explain why this happens:
In the ebXML schemas there a lot of annotations in this style:
<xsd:element ref="cbc:Note" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
<ccts:Component>
<ccts:ComponentType>BBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Order. Note.
Text</ccts:DictionaryEntryName>
<ccts:Definition>contains any free form text pertinent to
the entire document or to the document message itself. This element may
contain notes or any other similar information that is not contained
explicitly in another structure.</ccts:Definition>
<ccts:Cardinality>0..1</ccts:Cardinality>
<ccts:ObjectClass>Order</ccts:ObjectClass>
<ccts:PropertyTerm>Note</ccts:PropertyTerm>
<ccts:RepresentationTerm>Text</ccts:RepresentationTerm>
<ccts:DataType>Text. Type</ccts:DataType>
</ccts:Component>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
This element is part of a sequence particle of a complexType. The ref'd
element type does not have any annotation element, but here an
annotation is added on. In all similar cases the
XSElementDecl::getAnnotation() does not retrieve any XSAnnotation, even
though, as you plainly see, it's right there.
Just FYI, I get the XSElementDecl from the XSParticle.
So what's the issue here, and what can I do to get the annotation?
Thanks,
Elisha Berns
[EMAIL PROTECTED]
tel. (310) 556 - 8332
fax (310) 556 - 2839
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]