Hello,

I've found no way to get the annotation for a particle, i.e.:

-----"ann-test.xsd"
<?xml version="1.0" encoding="US-ASCII" ?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";>

  <xs:element name="some">
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="other">
          <xs:annotation>
            <xs:documentation>
              Occurance 1 documentation.
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element ref="other">
          <xs:annotation>
            <xs:documentation>
              Documentation of the 2nd occurance.
            </xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>

  <xs:element name="other" type="xs:anyType">
    <xs:annotation>
      <xs:documentation>
        Main definition documentation.
      </xs:documentation>
    </xs:annotation>
  </xs:element>

</xs:schema>
-----"ann-test.xsd"--

I want to get the annotations for the two element particles occuring in the "sequence" model of the "some" element definition. Is it possible or I'm missing something?

I've put two files I'm testing with here:

http://www.geocities.com/stanio/test/AnnotationTest.java.txt
http://www.geocities.com/stanio/test/ann-test.xsd.txt

(obviously - remove the ".txt" extension after the download)

--
Stanimir

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to