Hi,
I have a Java project here which makes use of user-defined annotations.
Example:
@annotations.TestAnnotation({"a", "b", "c"})
public class A {}
When I use JAXB's tool schemagen to transform my classes into XSD, the
user-defined annotations have gone:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema version="1.0" xmlns: xs="
http://www.w3.org/2001/XMLSchema">
<xs:complexType name="a">
<xs:sequence/>
</xs:complexType>
</xs:schema>
Is it possible to transform user-defined annotations into the schema
with schemagen somehow? I'm happy about any hint that may help.
Thanks in advance,
Christian