Hi,

Castor successfully marshalls a GregorianCalendar:

<arrival-date first-day-of-week="2" minimal-days-in-first-week="1"
lenient="true">
        <gregorian-change>1582-10-15T01:00:00.000+01:00</gregorian-change>
        <time-zone DSTSavings="3600000" raw-offset="0"
xsi:type="java:java.util.SimpleTimeZone"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
                        <ID>Europe/London</ID>
                        <display-name>Greenwich Mean Time</display-name>
        </time-zone>
        <time>2004-03-08T00:00:00.000Z</time>
</arrival-date>

Hovewever, when I try to unmarshall it, I get:
org.xml.sax.SAXException: unable to instantiate a new type of:
java.util.SimpleTimeZone

Using jdk1.3.1_08

Any thoughts would be appreciated

regards

Dave Johnson


********** Confidentiality Notice & Disclaimer **********
This message, together with any attachments, is for the confidential and exclusive use 
of the intended addressee(s).
If you receive it in error, please delete the message and its attachments from your 
system immediately and notify us by return e-mail.
Do not disclose, copy, circulate or use any information contained in this e-mail.
(1) The content of this e-mail is to be read subject to our terms of business, as 
applicable.
(2) E-mail may be intercepted or affected by viruses and we accept no responsibility 
for any interception or liability for any form of viruses introduced with this e-mail.
(3) The sender shall remain solely accountable for any statements, representations or 
opinions that are clearly his or her own and not made in the course of employment.
(4) For risk, protection and security purposes, we may monitor e-mails and take 
appropriate action.
***************************************************************

TUI Northern Europe Limited
Registered in England and Wales (Number 3490138)

TUI UK Limited
Registered in England and Wales (Number 2830117)
VAT Number: 233 3687 62

Registered Office of TUI NE and TUI UK: Greater London House, Hampstead Road, London 
NW1 7SD
Telephone: +44 (0)20 7387 9321; Fax: +44 (0)20 7387 8451; IT Helpdesk: +44 (0)20 7383 
1555; E-mail: [EMAIL PROTECTED]

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to