[jboss-jira] [JBoss JIRA] (WFLY-3479) Inconsistencies in int/long in XSD and default values in Infinispan subsystem
Radoslav Husar (JIRA)
issues at jboss.org
Tue Jun 10 17:11:15 EDT 2014
Radoslav Husar created WFLY-3479:
------------------------------------
Summary: 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}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the jboss-jira
mailing list