List<Object> child2 = Arrays.asList(new Object[]{new Child2("child2_1"), new Child2("child2_2")});
List<Object> others = Arrays.asList(new Object[]{new Child3("child3_1"), new Child3("child3_2"), new Child3("child3_3")});
List<Object> choice = Arrays.asList(
new Object[]{new ImmutableChoice("choice1"), new ImmutableChoice(new Child1("child1"))}
);
Parent parent = new Parent(child1, child2, others, choice);
StringWriter writer = new StringWriter();
marshaller.declareNamespace("imm", "http://www.jboss.org/test/xml/immutable/");
//marshaller.setProperty(Marshaller.PROP_OUTPUT_INDENTATION, "false");
marshaller.marshal(xsdUrl.toExternalForm(),