Unfortunately, that is one of the current limitations of the XMLSchema compiler. Any input in what would you find as the most convenient way to expose those is appreciated.
Thanks, Radu -----Original Message----- From: Edward Frederick [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 8:49 AM To: [email protected] Subject: Extracting annotations from actual enumeration values, as opposed to the enumeration type. Hello, Is it possible to extract annotations from the actual enumeration values? I've had a lot of luck with annotations so far, but this one is a real stumper. Since enumerations are just facets on the base string, is there even a annotated schematype for which to retrieve the annotations? Thanks, Ed e.g. ..snip... <xs:element name="my-enum"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="val1"> <xs:annotation> <xs:appinfo> <myns:myelement>annotation1</myns:myelement> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="val2"> <xs:annotation> <xs:appinfo> <myns:myelement>annotation2</myns:myelement> </xs:appinfo> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> </xs:element> ..snip... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

