It seems like their not supported in the current release?

What I am trying to do is to annotate elements that reference global elements like this

<xsd:element ref="mbean:mbean">
  <xsd:annotation>
    <xsd:appinfo>
      <jbxb:class impl="org.jboss.test.xml.mbeanserver.MBeanData"/>
      <jbxb:property name="MBeans" collectionType="java.util.ArrayList"/>
    </xsd:appinfo>
  </xsd:annotation>
</xsd:element>

But these annotations are not seeing using the API. So, I have to move the annotations to the global element declaration. In this specific case (xml to java binding) it's really an issue.

Reading the JAXB2.0 spec (7.14 Annotation Restrictions) I see that there is an issue for this submitted to the w3c schema working group that is waiting for resolution.

I would appreciate your opinions on this.

Thanks,

alex


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

Reply via email to