Skip to content
Permalink
Browse files
[CXFXJC-12] - Fix for Enabling XJC DV plugin creates invalid content …
…incorrect
  • Loading branch information
coheigea committed Aug 31, 2015
1 parent 2ee4c8d commit 15fec5f06e8c85188edd194d831e2df3b0e6236c
Showing 1 changed file with 1 addition and 2 deletions.
@@ -89,7 +89,7 @@ public int parseArgument(Options opt, String[] args, int index, com.sun.tools.xj

if (args[index].startsWith("-Xdv")) {
ret = 1;
if (args[index].equals("-Xts:optional")) {
if (args[index].equals("-Xdv:optional")) {
complexTypes = true;
}
if (!opt.activePlugins.contains(plugin)) {
@@ -177,7 +177,6 @@ public boolean run(Outline outline, Options opt, ErrorHandler errorHandler) {
isRequiredAttr = attributeUse.isRequired();
}


if (xsType != null
&& xsType.isComplexType()
&& ((containsDefaultValue(outline, f) && complexTypes)

0 comments on commit 15fec5f

Please sign in to comment.