throw new XmlException("Non-nillable element is nil!");
}
}
context.putAttribute("nil", "true");
}
Type newType = type.validate(context);
if (newType != type) {
String problem = "Illegal content for element '" + name + "' with type '" + type.getName() + "'.";
if (type instanceof TypeReferenceType
|| context.getHandler().callback(ConflictHandler.Event.MODIFICATION, ConflictHandler.Type.ELEMENT,
getName(), context.getPath(), "Illegal content.")) {