You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to use this plugin to remove all annotations of a certain type off all the generated classes. E.g. I want to ensure the generated source does not include @XmlSchemaType on any fields but don't want to have to do this on each and every field
I tried this:
You can defined the "not recognized" but existing attribute multiple="true" to get rid of the message and get the goal you want to do @bcluap (response more for reference, hope you're not waiting for more than 3 years for the fix 😄)
Is it possible to use this plugin to remove all annotations of a certain type off all the generated classes. E.g. I want to ensure the generated source does not include @XmlSchemaType on any fields but don't want to have to do this on each and every field
I tried this:
<jaxb:bindings schemaLocation="service.xsd" node="/xs:schema">
<jaxb:bindings node="//xs:element">
<annox:removeAnnotation class="javax.xml.bind.annotation.XmlSchemaType" />
</jaxb:bindings>
</jaxb:bindings>
But get an error:
lineNumber: 17; columnNumber: 44; XPath evaluation of "//xs:element" results in too many (176) target nodes
The text was updated successfully, but these errors were encountered: