• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

Problems with custom xsd:dateTime conversion

Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I want to use custom written conversion utility to convert the date time genrated from the default implementation. So, I have written the following custom conversion class


DefaultValidationEventHandler: [ERROR]: Cannot format given Object as a Date
Location: obj: com.aravind.customdatetime.impl.CustomDateTypeImpl@7ff8e19c
- with linked exception:
[com.sun.xml.bind.serializer.AbortSerializationException: Cannot format given Object as a Date]

Here is the custom bindings file

However, when i try to Marsahll I am getting the following exception, I am not sure why though. I'd be very thankful if you can help me fix this issue

Legend has it that if you rub the right tiny ad, a genie comes out.
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic