Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3479

Inconsistencies in int/long in XSD and default values in Infinispan subsystem

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Trivial
    • 9.0.0.Alpha1
    • 8.1.0.Final
    • Clustering
    • None

    Description

      e.g.

          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()
          ;
      

      specifies long as the type, but the default value is int, moreover xsd also says int

      <xs:attribute name="shutdown-timeout" type="xs:int" default="25000">
      

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-rhusar Radoslav Husar
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: