commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26843] New: - Please don't check the timestamp format if it is null
Date Wed, 11 Feb 2004 00:43:01 GMT
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


Mime
View raw message