[jboss-jira] [JBoss JIRA] (WFLY-3479) Inconsistencies in int/long in XSD and default values in Infinispan subsystem

Ingo Weiss (JIRA) issues at jboss.org
Thu Jun 12 03:38:39 EDT 2014


    [ https://issues.jboss.org/browse/WFLY-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12975534#comment-12975534 ] 

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}



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list