[ 
http://jira.codehaus.org/browse/JIBX-170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Sosnoski updated JIBX-170:
---------------------------------

    Assignee: Dennis Sosnoski

This is definitely an issue with the current code. For 1.2 I'll add alternative 
built-in <format>s which will handle whitespace correctly. For 2.0 this will be 
handled correctly by default.

> 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
>
> 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 the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to