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