[jboss-jira] [JBoss JIRA] Resolved: (AS7-1505) Incorrect time unit written out to JCA configuration

Stefano Maestri (JIRA) jira-events at lists.jboss.org
Mon Sep 19 04:33:26 EDT 2011


     [ https://issues.jboss.org/browse/AS7-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefano Maestri resolved AS7-1505.
----------------------------------

    Resolution: Done


https://github.com/jbossas/jboss-as/pull/290

> Incorrect time unit written out to JCA configuration
> ----------------------------------------------------
>
>                 Key: AS7-1505
>                 URL: https://issues.jboss.org/browse/AS7-1505
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: XML Frameworks
>         Environment: AS7 upstream (August 10 2011)
>            Reporter: jaikiran pai
>            Assignee: Stefano Maestri
>             Fix For: 7.1.0.Alpha1
>
>
> JCA generates the following timeunit (note the case) for keepalive-time element.
> {code}
> <keepalive-time time="10" unit="SECONDS"/>
> {code}
> This fails the xsd validation testcase:
> {code}
> testStandalonePreview(org.jboss.as.test.flat.xml.StandardConfigsXMLValidationUnitTestCase): cvc-enumeration-valid: Value 'SECONDS' is not facet-valid with respect to enumeration '[s, sec, seconds, m, min, minutes, ms, milliseconds, ns, nanoseconds, h, hours, d, days, w, weeks, mon, months]'. It must be a value from the enumeration.
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list