Why don't you create a new issue at
http://jira.codehaus.org/browse/CASTOR, attach all relevant files and
one of us will be looking at this in detail. In other words, it is a bit
too early to give up .. ;-).

Werner

PS As a general side note, please note that all of us committers (such
as Stephen, Edward, Ralf and myself, just to name a few) do have day
jobs, which might make it a little bit hard (now and then) to find that
time required to serve this community.

> -----Original Message-----
> From: lucian chirita [mailto:[EMAIL PROTECTED] 
> Sent: Dienstag, 27. Februar 2007 10:53
> To: [email protected]
> Subject: Re: [castor-user] [XML] type="other" unmarshalling for dates
> 
> Any more clues about this or can I give up?
> 
> Thanks,
> Lucian
> 
> lucian chirita wrote:
> > Kuns, Edward wrote:
> >> With xsi:type="date" you are specifying that you have defined a 
> >> user-defined type named "date" for this type.  Have you tried 
> >> something like this (I haven't tried this myself to make 
> sure it works):
> >>
> >> <value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> >>        xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> >>        xsi:type="xsd:date">2007-02-14T15:36:11.800+02:00</value>
> > 
> > xsi:type="date" is produced by the marshaller (it outputs the type 
> > since my mapping specifies a generic type), I don't think I 
> can control that.
> > 
> > Also, manually editing the marshaller output by setting a namespace 
> > for the type doesn't help the unmarshaller producing a 
> java.util.Date 
> > value for the field.
> > 
> > Thank you,
> > Lucian
> > 
> >>
> >> There you are directly specifying that the type is the XML Schema 
> >> type date, and not a user-defined type with the same name. 
>  If you do 
> >> not specify a namespace for the type, then the "default" namespace 
> >> for that document is used.
> >>
> >>         Eddie
> >>
> >> 
> ---------------------------------------------------------------------
> >> To unsubscribe from this list please visit:
> >>
> >>     http://xircles.codehaus.org/manage_email
> >>
> >>
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> > 
> >    http://xircles.codehaus.org/manage_email
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to