Hi all,
i'm getting following exception thrown while trying to unmarshall an =
XML
source like below :
org.xml.sax.SAXException: unable to add text content to Time due to the
following error: java.lang.IllegalStateException: =
TimeDescriptor#setValue:
wrong value
Bad Time format: 09:15
A Time must follow the pattern hh:mm:ss.s(Z|((+|-)hh:mm)).
at
org.exolab.castor.xml.UnmarshalHandler.endElement(UnmarshalHandler.java:=
655)
at
org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1392)
<Departure>
<AirportCode>DEN</AirportCode>
<AirportName>Denver, CO, US</AirportName>
<Date>2003-01-16</Date>
<Time>09:15</Time>
</Departure>
as far as i know "hh:mm" is still valid ISO8601 time format/pattern --- or am i
missing something ?
thanks,
Vitali
i used the schema compiler to generate Java classes, so there is no =
mapping
file just the generated sources
Diese E-Mail enth�lt vertrauliche und/oder rechtlich gesch�tzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt�mlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
