rzo1 opened a new pull request, #2794:
URL: https://github.com/apache/tomee/pull/2794

   session-timeout (and the other xsd:integer / numeric / temporal / enum 
descriptor values) use a whitespace="collapse" facet, so a value such as
   
   ```
     <session-timeout>
         30
     </session-timeout>
   ```
   
   is valid and must parse. The SXC-generated accessors fed the raw element 
text straight into Integer.valueOf()/etc. for wrapper, temporal, decimal and 
enum types, which failed with NumberFormatException.
   
   Bump SXC to 0.10 (which collapses whitespace in the generator) and 
regenerate the affected accessors, applying only the resulting .trim() 
additions so the change stays limited to the fix. Adds a regression test.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to