JiBX should really support trimming whitespace from text values being converted
to the various built in types.
--------------------------------------------------------------------------------------------------------------
Key: JIBX-170
URL: http://jira.codehaus.org/browse/JIBX-170
Project: JiBX
Issue Type: Improvement
Components: core
Affects Versions: JiBX 1.1
Environment: All
Reporter: John Pfeifer
I am valdating all incoming requests against an XSD but I have found that
xsd:decimal validation uses whitespace collapse by default. This allows
values like " 9.99 " to be passed to my JiBX binding, which results in a
NumberFormatException. I can fix this issue by customzing my bindings file,
but it would be nice if JiBX supported this functionality as part of it's
default behavior.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs