]
Stefano Maestri commented on AS7-1505:
--------------------------------------
problem is more general: the thread parser is parsing it wrong and then writing back
wrong.
In Parsing
it conside just TimeUnit enum value so just SECONDS while xsd accept s, sec and so on. The
best would probably be to limit possible value into xsd, but keeping lower case.
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
Environment: AS7 upstream (August 10 2011)
Reporter: jaikiran pai
Assignee: Stefano Maestri
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: