[
http://jira.codehaus.org/browse/JIBX-170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Sosnoski resolved JIBX-170.
----------------------------------
Resolution: Fixed
Fix Version/s: JiBX 1.2.2
Added trim-whitespace attribute to <binding> element to switch trimming on for
all default conversions, along with whitespace attribute in string group to
override how whitespace is handled for user-defined conversions (or for
individual values).
> 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
> Assignee: Dennis Sosnoski
> Fix For: JiBX 1.2.2
>
>
> 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
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs