You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/02/11 01:43:01 UTC
DO NOT REPLY [Bug 26843] New: -
Please don't check the timestamp format if it is null
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26843>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26843
Please don't check the timestamp format if it is null
Summary: Please don't check the timestamp format if it is null
Product: Commons
Version: 1.0 Alpha
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Betwixt
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: jianwshen@yahoo.com
When a XML like
<value>
<code>SYSTEM</code>
<enabled>Y</enabled>
<startDate>2004-02-10 00:00:00.0</startDate>
<endDate/>
<meaning>System</meaning>
<description/>
</value>
is converted to a Java bean using BetWixt, I got an error message:
org.apache.commons.beanutils.ConversionException: Timestamp format must be yyyy-
mm-dd hh:mm:ss.fffffffff
Is there any way to ignore <endDate/> without checking the timestamp format if
it is null? In fact, <endDate/> does means something to user and it can't be
removed from the XML file.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org