|
Problems trying to use annotation support in v2: msg#00112text.xml.xmlbeans.user
I am trying to use the v2 annotation support to get access to appinfo elements in a schema. I can send the entire schema and the code that read it if that would help, but it is long. I have defined the following type: <xs:complexType name="category"> <xs:complexContent> <xs:extension base="aptas:baseEntity"> <xs:sequence> <xs:element type="aptas:localizedString" name="name" minOccurs="1" maxOccurs="unbounded"> <xs:annotation> <xs:appinfo> <papyrus:papyrusAppinfo> <papyrus:sourceClass> com.aptas.alexandria.vo.Category </papyrus:sourceClass> <papyrus:sourceMethod> getName </papyrus:sourceMethod> </papyrus:papyrusAppinfo> </xs:appinfo> </xs:annotation> </xs:element> <xs:element type="aptas:property" name="property" minOccurs="1" maxOccurs="unbounded"> <xs:annotation> <xs:appinfo> <papyrus:papyrusAppinfo> <papyrus:sourceClass> com.aptas.alexandria.vo.Category </papyrus:sourceClass> <papyrus:sourceMethod> getProperties </papyrus:sourceMethod> </papyrus:papyrusAppinfo> </xs:appinfo> </xs:annotation> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> When I look at the SchemaType for the name attribute in the debugger, the annotation field is null. Is this a bug, or am I doing something wrong? -- Jim McMaster mailto:jmcmaster@xxxxxxxxx |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | binding datatype customization: 00112, Kalyani Jitesh |
|---|---|
| Next by Date: | RE: ClassCastException using changeType(): 00112, Scott Hinkelman |
| Previous by Thread: | binding datatype customizationi: 00112, Kalyani Jitesh |
| Next by Thread: | RE: Problems trying to use annotation support in v2: 00112, Radu Preotiuc-Pietro |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |