coheigea opened a new pull request, #417: URL: https://github.com/apache/cxf-xjc-utils/pull/417
… errors What the patch fixes: 1 Wrong or crashing default values. A schema can give a field a default value. XML Schema allows 1 to mean true, and INF, -INF or NaN for decimal numbers. The default-value plugin read those values with Java’s rules, which don’t understand them. So default="1" came out as false, and INF/NaN crashed code generation. It now reads them the way XML Schema defines them. I added test cases for each value. 2 Build failures with no explanation. On Java 9 and later the Maven plugin always runs code generation in a separate process. If a plugin failed during that step, the error never made it back to Maven, and you saw only “Exit code: 1”. The error is now passed back, so the build log shows the cause, e.g. NumberFormatException: For input string: "-INF". -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
