We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I try to parse a dtd (using sourceType dtd), I get the following error
org.xml.sax.SAXParseException: Are you trying to compile DTD? Support for DTD is experimental. You may enable it by using the -dtd option.
How do I pass the -dtd option to xjc via this plugin?
The text was updated successfully, but these errors were encountered:
I think this is a bug in the xjc implementation. When I use version 4.0.3 of xjc, this error no longer occurs.
You can override the version used by the plugin with a dependencies element:
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jaxb2-maven-plugin</artifactId> <executions> </executions> <dependencies> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-xjc</artifactId> <version>4.0.3</version> </dependency> </dependencies> </plugin>
Sorry, something went wrong.
No branches or pull requests
When I try to parse a dtd (using sourceType dtd), I get the following error
How do I pass the -dtd option to xjc via this plugin?
The text was updated successfully, but these errors were encountered: