Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #25628
| Date | 2011-01-30 12:35 -0500 |
|---|---|
| From | Arne Vajhøj <arne@vajhoej.dk> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: XStream vs XMLGregorianCalendar |
| References | <d4af9ddb-16e4-4e36-b22d-fb2a1ea125e3@f2g2000yqf.googlegroups.com> |
| Message-ID | <4d45a178$0$23753$14726298@news.sunsite.dk> (permalink) |
| Organization | SunSITE.dk - Supporting Open source |
On 30-01-2011 04:18, bw wrote: > There xsd-diagram, with the help of her made JAXB java-class. > The class is filled with data, among other things, there are element > dateTo of the type javax.xml.datatype.XMLGregorianCalendar. > After this class does XStream XML, I get description of this item: > <dateTo > class="com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl"> > <year>2011</year> > <month>1</month> > <day>30</day> > <timezone>180</timezone> > <hour>12</hour> > <minute>13</minute> > <second>34</second> > <fractionalSecond>0.315</fractionalSecond> > </ dateTo> > > I do not like such a description, tell me, you can use XStream to get > out of the XML this form: > <dateTo>2011-01-30T09:13:34.356 Z</dateTo>? Are you using JAXB or XStream? Arne
Back to comp.lang.java.programmer | Previous | Next | Find similar
Re: XStream vs XMLGregorianCalendar Arne Vajhøj <arne@vajhoej.dk> - 2011-01-30 12:35 -0500
csiph-web