It's not a secret anymore!
The moose likes XML and Related Technologies and the fly likes changing XMLGregorianCalendar.toXmlFormat() output Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "changing XMLGregorianCalendar.toXmlFormat() output" Watch "changing XMLGregorianCalendar.toXmlFormat() output" New topic

changing XMLGregorianCalendar.toXmlFormat() output

L Duperval
Ranch Hand

Joined: May 14, 2003
Posts: 63

I notice that later releases of the J2SE for the output of an XMLGregorianCalendar with the fractional second. Other than overriding the XMLGregorianCalendar class, is there a way to remove that part of the output?



Live Free, Live Happy
Paul Clapham

Joined: Oct 14, 2005
Posts: 19847

What do you mean by the "output" of that class?
I agree. Here's the link:
subject: changing XMLGregorianCalendar.toXmlFormat() output
It's not a secret anymore!