]
Ingo Weiss commented on WFLY-3479:
----------------------------------
[~rhusar], I will sure give it a shot.
Inconsistencies in int/long in XSD and default values in Infinispan
subsystem
-----------------------------------------------------------------------------
Key: WFLY-3479
URL:
https://issues.jboss.org/browse/WFLY-3479
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Clustering
Affects Versions: 8.1.0.Final
Reporter: Radoslav Husar
Assignee: Radoslav Husar
Priority: Trivial
Fix For: 9.0.0.CR1
e.g.
{code}
static final SimpleAttributeDefinition SHUTDOWN_TIMEOUT = new
SimpleAttributeDefinitionBuilder(ModelKeys.SHUTDOWN_TIMEOUT, ModelType.LONG, true)
.setXmlName(Attribute.SHUTDOWN_TIMEOUT.getLocalName())
.setAllowExpression(true)
.setFlags(AttributeAccess.Flag.RESTART_ALL_SERVICES)
.setDefaultValue(new ModelNode().set(25000))
.build()
;
{code}
specifies long as the type, but the default value is int, moreover xsd also says int
{code}
<xs:attribute name="shutdown-timeout" type="xs:int"
default="25000">
{code}