public class WebDefinition extends SimpleResourceDefinition {
public static final WebDefinition INSTANCE = new WebDefinition();
protected static final SimpleAttributeDefinition DEFAULT_VIRTUAL_SERVER =
new SimpleAttributeDefinitionBuilder(Constants.DEFAULT_VIRTUAL_SERVER, ModelType.STRING, true)
.setAllowExpression(true)
<BUG>.setXmlName(Constants.DEFAULT_VIRTUAL_SERVER)</BUG>
.setFlags(AttributeAccess.Flag.RESTART_ALL_SERVICES)
.setDefaultValue(new ModelNode("default-host"))
.build();
protected static final SimpleAttributeDefinition NATIVE =
new SimpleAttributeDefinitionBuilder(Constants.NATIVE, ModelType.BOOLEAN, true)
.setAllowExpression(true)
<BUG>.setXmlName(Constants.NATIVE)</BUG>
.setFlags(AttributeAccess.Flag.RESTART_ALL_SERVICES)

public class WebDefinition extends SimpleResourceDefinition {
public static final WebDefinition INSTANCE = new WebDefinition();
protected static final SimpleAttributeDefinition DEFAULT_VIRTUAL_SERVER =
new SimpleAttributeDefinitionBuilder(Constants.DEFAULT_VIRTUAL_SERVER, ModelType.STRING, true)
.setAllowExpression(true)
.setFlags(AttributeAccess.Flag.RESTART_ALL_SERVICES)
.setDefaultValue(new ModelNode("default-host"))
.build();
protected static final SimpleAttributeDefinition NATIVE =
new SimpleAttributeDefinitionBuilder(Constants.NATIVE, ModelType.BOOLEAN, true)
.setAllowExpression(true)
.setFlags(AttributeAccess.Flag.RESTART_ALL_SERVICES)
